Skip to content

Commit 3ac431c

Browse files
committed
fix: fix build tests
1 parent 427b08e commit 3ac431c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ const coverage = require('rollup-plugin-coverage')
66
const alias = require('rollup-plugin-alias')
77
const TestServer = require('karma').Server
88

9-
const bundleType = process.env.BUNDLE_TYPE
10-
const bundlePath = bundleType ? `dist/${bundleType}.js` : 'src/index.js'
9+
const bundleName = process.env.BUNDLE_TYPE
10+
const bundlePath = bundleName ? `dist/${bundleName}` : 'src/index.js'
1111

1212
const config = {
1313
frameworks: ['mocha', 'chai', 'source-map-support'],

0 commit comments

Comments
 (0)