Skip to content

Commit 262a357

Browse files
committed
trying to fix tests
1 parent e18f921 commit 262a357

File tree

1 file changed

+5
-0
lines changed
  • bindings/tmc-langs-node/src

1 file changed

+5
-0
lines changed

bindings/tmc-langs-node/src/lib.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -944,6 +944,11 @@ mod test {
944944
format!("http://{}", server_address()),
945945
);
946946

947+
#[cfg(windows)]
948+
let npm = "npm.cmd";
949+
#[cfg(not(windows))]
950+
let npm = "npm";
951+
947952
let s = Command::new("npm")
948953
.args(&["run", "jest"])
949954
.output()

0 commit comments

Comments
 (0)