From ffff4a6f5ece8e394896b4fd121c1340eb88ecdb Mon Sep 17 00:00:00 2001 From: konnorrogers Date: Tue, 21 Nov 2023 10:55:07 -0500 Subject: [PATCH] Run web test runner with production modules --- web-test-runner.config.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/web-test-runner.config.js b/web-test-runner.config.js index 17f502d5..acc63a5a 100644 --- a/web-test-runner.config.js +++ b/web-test-runner.config.js @@ -6,7 +6,9 @@ export default { rootDir: '.', files: 'src/**/*.test.ts', // "default" group concurrentBrowsers: 3, - nodeResolve: true, + nodeResolve: { + exportConditions: ["production", "default"] + }, testFramework: { config: { timeout: 3000,