refactor(test): correct the value retrieval

This commit is contained in:
Xiao 2025-08-17 23:04:46 +08:00 committed by GitHub
parent 613a5ada7e
commit c50930b3be
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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");