Skip to content

Commit 337c43f

Browse files
committed
Fix docstrings test not working after stdlib change
1 parent 39ec0d3 commit 337c43f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

scripts/test.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,10 @@ if (runtimeDocstrings) {
159159
"generated_mocha_test.res",
160160
);
161161

162+
// Remove existing `generated_mocha_test.res`, as it might not compile anymore
163+
// due to changes in stdlib.
164+
await fs.promises.rm(generated_mocha_test_res);
165+
162166
await execClean([], {
163167
cwd: docstringTestDir,
164168
stdio: "inherit",

0 commit comments

Comments
 (0)