Skip to content

Commit d42a6d9

Browse files
committed
check binary
1 parent bf43f0f commit d42a6d9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/e2e/call/index.spec.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { describe, it, expect, beforeAll, afterAll } from "vitest";
33
import { execa } from "execa";
44
import path from "node:path";
55

6-
const binPath = path.resolve(__dirname, "../../../bin/moleculer.js");
6+
const binPath = path.resolve(__dirname, "./bin/moleculer.js");
77

88
describe("E2E: call command", () => {
99
const transporter = "NATS";
@@ -32,8 +32,8 @@ describe("E2E: call command", () => {
3232

3333
await broker.start();
3434

35-
console.log((await execa("ls")).stdout);
36-
console.log((await execa("ls bin")).stdout);
35+
console.log((await execa("ls -al")).stdout);
36+
console.log((await execa("ls -al bin/")).stdout);
3737
});
3838

3939
afterAll(async () => {

0 commit comments

Comments
 (0)