Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions test/cli/install/bun-pm.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -600,7 +600,7 @@ it.each([
const [stdout, stderr, exitCode] = await spawnAndCollect("pm", "ls");
expect(stderr).toBe("");
expect(normalizeBunSnapshot(stdout, package_dir)).toMatchInlineSnapshot(`
"<dir> node_modules (5)
"<dir> node_modules (5 installed)
├── bar@0.0.2
├── bar-alias@0.0.2
├── ws-once@workspace:packages/ws-once
Expand All @@ -622,7 +622,7 @@ it("should list a trusted workspace the root also depends on once with --trusted
const [stdout, stderr, exitCode] = await spawnAndCollect("pm", "ls", "--trusted");
expect(stderr).toBe("");
expect(normalizeBunSnapshot(stdout, package_dir)).toMatchInlineSnapshot(`
"<dir> node_modules (5)
"<dir> node_modules (5 installed)
└── ws-once@workspace:packages/ws-once"
`);
expect(exitCode).toBe(0);
Expand Down Expand Up @@ -670,7 +670,7 @@ it("should list a root optional peer that a dependency provides", async () => {
const [stdout, stderr, exitCode] = await spawnAndCollect("pm", "ls");
expect(stderr).toBe("");
expect(normalizeBunSnapshot(stdout, package_dir)).toMatchInlineSnapshot(`
"<dir> node_modules (2)
"<dir> node_modules (2 installed)
├── bar@0.0.2
└── moo@moo"
`);
Expand Down
2 changes: 1 addition & 1 deletion test/cli/install/bun-prune.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -658,7 +658,7 @@ test.concurrent("isolated linker: --verbose does not print the store build timin

- no-deps@1.0.1
- one-dep@1.0.0
2 packages removed (checked 5)"
2 packages removed (checked 5 installed packages)"
`);
expect(stderr).not.toContain("Resolved peers");
expect(stderr).not.toContain("Created store");
Expand Down
Loading