Browse Source

Add new test

rollup-init
Eli Skeggs 9 years ago
parent
commit
07cb666562
  1. 11
      test/function/check-resolve-for-entry/_config.js

11
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 ) );
}
};
Loading…
Cancel
Save