From af20f6c3914379777908c9bcce3867187027bd51 Mon Sep 17 00:00:00 2001 From: Simen Bekkhus Date: Mon, 20 Nov 2023 12:21:28 +0100 Subject: [PATCH] is json output enough? --- .../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({}), ], };