You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

9 lines
276 B

var assert = require( 'assert' );
var path = require( 'path' );
module.exports = {
description: 'throws error if module is not found',
error: function ( err ) {
assert.equal( err.message, 'Could not resolve \'./mod\' from ' + path.resolve( __dirname, 'main.js' ) );
}
};