From 7e6b606e4c93bd5e79f0edb12d9eaf9ac66824ad Mon Sep 17 00:00:00 2001 From: Jamie Danielson Date: Tue, 26 Mar 2024 17:06:34 -0400 Subject: [PATCH] add chromeLauncher browser --- .../web-test-runner.config.mjs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/web/opentelemetry-instrumentation-document-load/web-test-runner.config.mjs b/plugins/web/opentelemetry-instrumentation-document-load/web-test-runner.config.mjs index 3c69a11980..1989a756fd 100644 --- a/plugins/web/opentelemetry-instrumentation-document-load/web-test-runner.config.mjs +++ b/plugins/web/opentelemetry-instrumentation-document-load/web-test-runner.config.mjs @@ -18,6 +18,7 @@ import { nodeResolve as nodeResolveRollup } from '@rollup/plugin-node-resolve'; import commonjsRollup from '@rollup/plugin-commonjs'; import { esbuildPlugin } from '@web/dev-server-esbuild'; import { fromRollup } from '@web/dev-server-rollup'; +import { chromeLauncher } from '@web/test-runner'; const nodeResolve = fromRollup(nodeResolveRollup); const commonjs = fromRollup(commonjsRollup); @@ -25,7 +26,7 @@ const commonjs = fromRollup(commonjsRollup); export default { files: ['test/**/*.test.ts'], nodeResolve: true, - browserStartTimeout: 35000, + browsers: [chromeLauncher({ launchOptions: { args: ['--no-sandbox'] } })], plugins: [ esbuildPlugin({ ts: true }), nodeResolve({ browser: true, preferBuiltins: false }),