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

Commit 0752385

Browse files
committedDec 29, 2018
Update devDep to rollup@1
1 parent c8983e5 commit 0752385

File tree

3 files changed

+20
-10
lines changed

3 files changed

+20
-10
lines changed
 

‎package-lock.json

+16-7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
"lint-staged": "^7.2.2",
5050
"mocha": "^5.2.0",
5151
"prettier": "^1.14.2",
52-
"rollup": "^0.64.1",
52+
"rollup": "^1.0.0",
5353
"rollup-plugin-buble": "^0.19.2",
5454
"rollup-plugin-json": "^3.0.0",
5555
"source-map": "^0.6.1",

‎test/test.js

+3-2
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@ describe('rollup-plugin-babel', function() {
4949
)
5050
.then(bundle => {
5151
return bundle.generate(Object.assign({ format: 'cjs' }, generateOptions));
52-
});
52+
})
53+
.then(({ output: [generated] }) => generated);
5354
}
5455

5556
it('runs code through babel', () => {
@@ -120,7 +121,7 @@ describe('rollup-plugin-babel', function() {
120121
plugins: [babelPlugin()],
121122
})
122123
.then(bundle => bundle.generate({ output: { format: 'esm' } }))
123-
.then(({ code }) => {
124+
.then(({ output: [{ code }] }) => {
124125
assert.ok(/class Foo/.test(code));
125126
assert.ok(/var Bar/.test(code));
126127
assert.ok(!/class Bar/.test(code));

0 commit comments

Comments
 (0)
This repository has been archived.