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
271 B

var assert = require( 'assert' );
var path = require( 'path' );
module.exports = {
error: function ( err ) {
assert.equal( path.normalize( err.file ), path.resolve( __dirname, 'empty.js' ) );
assert.ok( /Export 'foo' is not defined by/.test( err.message ) );
}
};