Skip to content
This repository was archived by the owner on May 15, 2025. It is now read-only.

Commit 89cca9c

Browse files
committed
fix tests due to log changes
1 parent 8936b9a commit 89cca9c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

devcontainers-cli/main.test.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@ describe("devcontainers-cli", async () => {
6363
});
6464
const output = await executeScriptInContainer(state, "docker:dind");
6565
expect(output.exitCode).toBe(1);
66-
expect(output.stdout).toEqual([
67-
"No supported package manager (npm, pnpm, yarn) is installed. Please install one first.",
66+
expect(output.stderr).toEqual([
67+
"ERROR: No supported package manager (npm, pnpm, yarn) is installed. Please install one first.",
6868
]);
6969
}, 15000);
7070

@@ -81,7 +81,7 @@ describe("devcontainers-cli", async () => {
8181
expect(output.exitCode).toBe(0);
8282

8383
expect(output.stdout[0]).toEqual(
84-
"Installing @devcontainers/cli using npm ...",
84+
"Installing @devcontainers/cli using npm...",
8585
);
8686
expect(output.stdout[output.stdout.length - 1]).toEqual(
8787
"🥳 @devcontainers/cli has been installed into /usr/local/bin/devcontainer!",
@@ -101,7 +101,7 @@ describe("devcontainers-cli", async () => {
101101
expect(output.exitCode).toBe(0);
102102

103103
expect(output.stdout[0]).toEqual(
104-
"Installing @devcontainers/cli using yarn ...",
104+
"Installing @devcontainers/cli using yarn...",
105105
);
106106
expect(output.stdout[output.stdout.length - 1]).toEqual(
107107
"🥳 @devcontainers/cli has been installed into /usr/local/bin/devcontainer!",

0 commit comments

Comments
 (0)