From 07cb66656278f1c76ce79fd877cbe9b2b5502d36 Mon Sep 17 00:00:00 2001 From: Eli Skeggs Date: Thu, 28 Jul 2016 16:21:30 -0700 Subject: [PATCH] Add new test --- test/function/check-resolve-for-entry/_config.js | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 test/function/check-resolve-for-entry/_config.js 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 ) ); + } +};