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

Commit

Permalink
Update devDep to rollup@1
Browse files Browse the repository at this point in the history
  • Loading branch information
Andarist committed Dec 29, 2018
1 parent c8983e5 commit 0752385
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 10 deletions.
23 changes: 16 additions & 7 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"lint-staged": "^7.2.2",
"mocha": "^5.2.0",
"prettier": "^1.14.2",
"rollup": "^0.64.1",
"rollup": "^1.0.0",
"rollup-plugin-buble": "^0.19.2",
"rollup-plugin-json": "^3.0.0",
"source-map": "^0.6.1",
Expand Down
5 changes: 3 additions & 2 deletions test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ describe('rollup-plugin-babel', function() {
)
.then(bundle => {
return bundle.generate(Object.assign({ format: 'cjs' }, generateOptions));
});
})
.then(({ output: [generated] }) => generated);
}

it('runs code through babel', () => {
Expand Down Expand Up @@ -120,7 +121,7 @@ describe('rollup-plugin-babel', function() {
plugins: [babelPlugin()],
})
.then(bundle => bundle.generate({ output: { format: 'esm' } }))
.then(({ code }) => {
.then(({ output: [{ code }] }) => {
assert.ok(/class Foo/.test(code));
assert.ok(/var Bar/.test(code));
assert.ok(!/class Bar/.test(code));
Expand Down

0 comments on commit 0752385

Please sign in to comment.