From 11100a87bf5f3c53105864df5637297247a9b040 Mon Sep 17 00:00:00 2001 From: Simen Bekkhus Date: Mon, 20 Nov 2023 12:57:34 +0100 Subject: [PATCH] Revert "Revert "is json output enough?"" This reverts commit 6e3b6fe679557214d4642bb41d4ee847775a46b6. --- .../web-test-runner.config.mjs | 5 ++++- 1 file changed, 4 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 aeef46fe8e..3d6e71512a 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 @@ -23,11 +23,14 @@ const nodeResolve = fromRollup(nodeResolveRollup); const commonjs = fromRollup(commonjsRollup); export default { + coverageConfig: { + reporters: ['json', 'lcov'], + }, files: ['test/**/*.test.ts'], nodeResolve: true, plugins: [ esbuildPlugin({ ts: true }), nodeResolve({ browser: true, preferBuiltins: false }), - commonjs(), + commonjs({}), ], };