Skip to content

Commit 1d7d27d

Browse files
committed
fix: pass bundle option to karma config
1 parent 293573d commit 1d7d27d

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

lib/services/test-execution-service.ts

+1
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,7 @@ export class TestExecutionService implements ITestExecutionService {
197197
debugTransport: this.$options.debugTransport,
198198
debugBrk: this.$options.debugBrk,
199199
watch: !!this.$options.watch,
200+
bundle: !!this.$options.bundle,
200201
appDirectoryRelativePath: projectData.getAppDirectoryRelativePath()
201202
}
202203
},

resources/test/karma.conf.js

+2
Original file line numberDiff line numberDiff line change
@@ -101,5 +101,7 @@ function setWebpack(config, options) {
101101
const env = {};
102102
env[config.platform] = true;
103103
options.webpack = require('./webpack.config')(env);
104+
delete options.webpack.entry;
105+
delete options.webpack.output.libraryTarget;
104106
}
105107
}

0 commit comments

Comments
 (0)