Skip to content

Commit c0da62a

Browse files
committed
More robust cycle1 test w.r.t. stale artifacts.
1 parent b557e84 commit c0da62a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

jscomp/build_tests/cycle1/input.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ const fs = require('fs')
55
const path = require('path')
66
var rescript_exe = require("../../../scripts/bin_path").rescript_exe
77

8+
cp.execSync(`${rescript_exe} clean -with-deps`, { cwd: __dirname, });
9+
810
var output = cp.spawnSync(rescript_exe, { encoding: "utf8", shell: true });
911

1012
assert(/is dangling/.test(output.stdout));

0 commit comments

Comments
 (0)