We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8ee2bed commit 0bbbf71Copy full SHA for 0bbbf71
lib/services/test-execution-service.ts
@@ -107,13 +107,16 @@ export class TestExecutionService implements ITestExecutionService {
107
return info;
108
});
109
110
+ const env = this.$options.env || {};
111
+ env.unitTesting = !!this.$options.bundle;
112
+
113
const liveSyncInfo: ILiveSyncInfo = {
114
projectDir: projectData.projectDir,
115
skipWatcher: !this.$options.watch || this.$options.justlaunch,
116
watchAllFiles: this.$options.syncAllFiles,
117
bundle: !!this.$options.bundle,
118
release: this.$options.release,
- env: this.$options.env,
119
+ env,
120
timeout: this.$options.timeout,
121
useHotModuleReload: this.$options.hmr
122
};
0 commit comments