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

Commit

Permalink
Silence a few test warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
lukastaegert committed Oct 7, 2017
1 parent 83315ad commit 8efa096
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
20 changes: 10 additions & 10 deletions package-lock.json

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

8 changes: 4 additions & 4 deletions test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,8 @@ describe( 'rollup-plugin-commonjs', () => {

const generated = await bundle.generate({
format: 'cjs',
sourceMap: true,
sourceMapFile: path.resolve( 'bundle.js' )
sourcemap: true,
sourcemapFile: path.resolve( 'bundle.js' )
});

const smc = new SourceMapConsumer( generated.map );
Expand Down Expand Up @@ -410,7 +410,7 @@ describe( 'rollup-plugin-commonjs', () => {

it( 'prefers to set name using directory for index files', async () => {
const bundle = await rollup({
entry: 'samples/rename-index/main.js',
input: 'samples/rename-index/main.js',
plugins: [ commonjs() ]
});

Expand All @@ -424,7 +424,7 @@ describe( 'rollup-plugin-commonjs', () => {
it( 'does not misassign default when consuming rollup output', async () => {
// Issue #224
const bundle = await rollup({
entry: 'samples/use-own-output/main.js',
input: 'samples/use-own-output/main.js',
plugins: [ commonjs() ],
});

Expand Down

0 comments on commit 8efa096

Please sign in to comment.