We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd12b52 commit 2d6779dCopy full SHA for 2d6779d
scripts/test.js
@@ -2,6 +2,7 @@
2
const cp = require("child_process");
3
const path = require("path");
4
const fs = require("fs");
5
+var { rescript_exe } = require("#cli/bin_path");
6
7
const duneBinDir = require("./dune").duneBinDir;
8
@@ -61,11 +62,11 @@ async function runTests() {
61
62
}
63
64
if (mochaTest || nodeTest) {
- cp.execSync(`../../rescript`, {
65
+ cp.execSync(rescript_exe, {
66
cwd: path.join(__dirname, "..", "tests/tests"),
67
stdio: [0, 1, 2],
68
});
69
70
cwd: path.join(__dirname, "..", "tests/tests_esmodule"),
71
72
0 commit comments