Skip to content
This repository has been archived by the owner on Aug 4, 2021. It is now read-only.

Commit

Permalink
update rollup and fix test regression
Browse files Browse the repository at this point in the history
  • Loading branch information
Kelly Selden committed Feb 19, 2018
1 parent 902c848 commit 135baaa
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"es5-ext": "^0.10.39",
"eslint": "^4.18.0",
"mocha": "^5.0.1",
"rollup": "^0.54.1",
"rollup": "^0.55.5",
"rollup-plugin-buble": "^0.19.2",
"rollup-plugin-commonjs": "^8.3.0",
"string-capitalize": "^1.0.1",
Expand All @@ -21,7 +21,6 @@
"pretest": "npm run build",
"test": "mocha",
"posttest": "eslint src test/*.js",
"prepublish": "npm test",
"lint": "eslint src"
},
"files": [
Expand Down
8 changes: 4 additions & 4 deletions test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ function executeBundle ( bundle ) {
}).then( generated => {
const fn = new Function ( 'module', 'exports', 'assert', generated.code );
const module = { exports: {} };

fn( module, module.exports, assert );

return module;
});
}
Expand Down Expand Up @@ -356,7 +356,7 @@ describe( 'rollup-plugin-node-resolve', function () {
})
]
}).then( bundle => {
assert.deepEqual( bundle.imports.sort(), [ 'events' ] );
assert.equal( bundle.modules.length, 1 );
});
});

Expand All @@ -369,7 +369,7 @@ describe( 'rollup-plugin-node-resolve', function () {
})
]
}).then( bundle => {
assert.deepEqual( bundle.imports.sort(), [] );
assert.equal( bundle.modules.length, 2 );
});
});

Expand Down

0 comments on commit 135baaa

Please # to comment.