Skip to content

Commit ecbe871

Browse files
(chore) update the tests for the newer cli
1 parent f4c0774 commit ecbe871

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
"dev": "tsup --watch",
6363

6464
"pretest": "npm run build",
65-
"test": "node --test",
65+
"test": "npm run build && node --test",
6666
"test:dtls": "node --test test/integration/cli_dtls_e2e.test.mjs",
6767
"test:pq": "node --test test/integration/cli_pq_e2e.test.mjs",
6868

test/integration/helpers/runCLI.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ export function runRecv({ code, outDir = ".", api, relay, yes = true, extra = []
5252
...args,
5353
"recv",
5454
...(yes !== false ? ["-y"] : []),
55-
outDir ?? ".",
5655
...(code ? [code] : []),
56+
...(outDir != null ? [outDir] : []),
5757
...extra,
5858
];
5959
if (process.env.NT_DEBUG) console.error("runRecv:", cmd, argv.join(" "));

0 commit comments

Comments
 (0)