From c50930b3be80285b1a53b64a8cfb4c58aa17a409 Mon Sep 17 00:00:00 2001 From: Xiao <784487301@qq.com> Date: Sun, 17 Aug 2025 23:04:46 +0800 Subject: [PATCH] refactor(test): correct the value retrieval --- test/runner/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/runner/index.js b/test/runner/index.js index b9f4e3bc6..0a8ef5c84 100644 --- a/test/runner/index.js +++ b/test/runner/index.js @@ -402,7 +402,7 @@ class TestRunner { ); const esmCache = new Map(); const { category, name, round } = this.testMeta; - const esmIdentifier = `${category.name}-${name}-${round || 0}`; + const esmIdentifier = `${category}-${name}-${round || 0}`; let esmContext = null; return (moduleInfo, context) => { const asModule = require("../helpers/asModule");