Skip to content

Commit 4ee290e

Browse files
author
David Zukowski
committed
fix(test): revert karma-webpack array workaround
1 parent 04bec10 commit 4ee290e

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

tests/test-bundler.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,7 @@ global.should = chai.should()
2121
// Require Tests
2222
// ---------------------------------------
2323
// for use with karma-webpack-with-fast-source-maps
24-
// NOTE: `new Array()` is used rather than an array literal since
25-
// for some reason an array literal without a trailing `;` causes
26-
// some build environments to fail.
27-
const __karmaWebpackManifest__ = new Array() // eslint-disable-line
24+
const __karmaWebpackManifest__ = []; // eslint-disable-line
2825
const inManifest = (path) => ~__karmaWebpackManifest__.indexOf(path)
2926

3027
// require all `tests/**/*.spec.js`

0 commit comments

Comments
 (0)