We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 58bbb8d commit c8362a3Copy full SHA for c8362a3
1 file changed
load-tests/utils/baseline.js
@@ -5,7 +5,8 @@
5
// configured tolerance). Returned data is embedded in the generated report and
6
// printed to stdout so CI surfaces regressions even when raw thresholds pass.
7
8
-import baseline from '../baseline.json';
+// k6 does not support ES module JSON imports — use the built-in open() instead.
9
+const baseline = JSON.parse(open('../baseline.json'));
10
11
function pct(measured, base) {
12
if (base === 0) return measured === 0 ? 0 : 100;
0 commit comments