Skip to content

Commit e8f9e44

Browse files
committed
test: add rationale for @ts-expect-error and fix coverage
1 parent 056fa21 commit e8f9e44

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

test/configCases/chunk-graph/graph-integrity/webpack.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ module.exports = {
2626
// @ts-expect-error for tests
2727
chunkGraph.replaceModule(m, mock);
2828

29+
// @ts-expect-error for tests
2930
if (!chunkGraph.isModuleInChunk(mock, chunk)) {
3031
throw new Error("replaceModule failed (new module missing)");
3132
}

0 commit comments

Comments
 (0)