UNPKG

yoastseo-dep

Version:

Yoast clientside page analysis

10 lines (8 loc) 338 B
import MissingArgumentError from "../../src/errors/missingArgument.js"; describe( "missing argument error", function() { it( "has the correct name and message", function() { const error = new MissingArgumentError( "Error" ); expect( error.message ).toBe( "Error" ); expect( error.name ).toBe( "MissingArgumentError" ); } ); } );