mirror of https://github.com/webpack/webpack.git
refactor(test): correct the value retrieval
This commit is contained in:
parent
613a5ada7e
commit
c50930b3be
|
@ -402,7 +402,7 @@ class TestRunner {
|
||||||
);
|
);
|
||||||
const esmCache = new Map();
|
const esmCache = new Map();
|
||||||
const { category, name, round } = this.testMeta;
|
const { category, name, round } = this.testMeta;
|
||||||
const esmIdentifier = `${category.name}-${name}-${round || 0}`;
|
const esmIdentifier = `${category}-${name}-${round || 0}`;
|
||||||
let esmContext = null;
|
let esmContext = null;
|
||||||
return (moduleInfo, context) => {
|
return (moduleInfo, context) => {
|
||||||
const asModule = require("../helpers/asModule");
|
const asModule = require("../helpers/asModule");
|
||||||
|
|
Loading…
Reference in New Issue