Skip to content

Commit 56704f3

Browse files
committed
Fix stale tests.
1 parent a3a81bc commit 56704f3

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

scripts/test.js

+6-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,12 @@ async function runTests() {
6060
}
6161

6262
if (mochaTest) {
63-
cp.execSync(rescript_exe, {
63+
cp.execSync(`${rescript_exe} clean`, {
64+
cwd: path.join(__dirname, "..", "tests/tests"),
65+
stdio: [0, 1, 2],
66+
});
67+
68+
cp.execSync(`${rescript_exe} build`, {
6469
cwd: path.join(__dirname, "..", "tests/tests"),
6570
stdio: [0, 1, 2],
6671
});

0 commit comments

Comments
 (0)