Browse Source

oops

ghi-672
Rich Harris 8 years ago
parent
commit
89327d50b2
  1. 1
      test/function/allow-reserved/_config.js
  2. 2
      test/test.js

1
test/function/allow-reserved/_config.js

@ -1,5 +1,4 @@
module.exports = {
solo: true,
description: 'allow reserved identifiers via custom acorn options',
options: {
acorn: {

2
test/test.js

@ -76,7 +76,7 @@ describe( 'rollup', function () {
return rollup.rollup({ entry: 'x', plUgins: [] }).then( function () {
throw new Error( 'Missing expected error' );
}, function ( err ) {
assert.equal( err.message, 'Unexpected key \'plUgins\' found, expected one of: banner, cache, dest, entry, exports, external, footer, format, globals, indent, intro, moduleId, moduleName, noConflict, onwarn, outro, plugins, preferConst, sourceMap, targets, treeshake, useStrict' );
assert.equal( err.message, 'Unexpected key \'plUgins\' found, expected one of: acorn, banner, cache, dest, entry, exports, external, footer, format, globals, indent, intro, moduleId, moduleName, noConflict, onwarn, outro, plugins, preferConst, sourceMap, targets, treeshake, useStrict' );
});
});
});

Loading…
Cancel
Save