Skip to content

Commit 3f4acd4

Browse files
committed
test: use esbuild-based karma builder for e2e tests in esbuild suite
Updated the E2E tests to use the esbuild-based karma builder when running the esbuild test suite.
1 parent 09f5006 commit 3f4acd4

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed
File renamed without changes.

tests/legacy-cli/e2e/utils/project.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,9 @@ export async function useCIChrome(projectName: string, projectDir = ''): Promise
192192
const project = workspaceJson.projects[projectName];
193193
const appTargets = project.targets || project.architect;
194194
appTargets.test.options.browsers = 'ChromeHeadlessNoSandbox';
195+
appTargets.test.options.builderMode = getGlobalVariable('argv')['esbuild']
196+
? 'application'
197+
: 'browser';
195198
});
196199
}
197200

0 commit comments

Comments
 (0)