diff --git a/test/function/check-resolve-for-entry/_config.js b/test/function/check-resolve-for-entry/_config.js new file mode 100644 index 0000000..a06632d --- /dev/null +++ b/test/function/check-resolve-for-entry/_config.js @@ -0,0 +1,11 @@ +var assert = require( 'assert' ); + +module.exports = { + description: 'checks that entry is resolved', + options: { + entry: '/not/a/path/that/actually/really/exists' + }, + error: function ( err ) { + assert.ok( /Could not resolve entry/.test( err.message ) ); + } +};