aboutsummaryrefslogtreecommitdiff
path: root/test/bun.js
diff options
context:
space:
mode:
authorGravatar Alex Lam S.L <alexlamsl@gmail.com> 2023-02-15 08:25:50 +0200
committerGravatar GitHub <noreply@github.com> 2023-02-14 22:25:50 -0800
commite63e3a0ca7a9dc57e842733f90caeea8b9ce28da (patch)
treee7705928406b59ac0e89356fd84da0aba59ce759 /test/bun.js
parent5598ea69f23683c593715764ed1a7d75c1092e8e (diff)
downloadbun-e63e3a0ca7a9dc57e842733f90caeea8b9ce28da.tar.gz
bun-e63e3a0ca7a9dc57e842733f90caeea8b9ce28da.tar.zst
bun-e63e3a0ca7a9dc57e842733f90caeea8b9ce28da.zip
[install] link network-delayed `.bin` scripts correctly (#2076)
Diffstat (limited to 'test/bun.js')
-rw-r--r--test/bun.js/install/bun-install.test.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/bun.js/install/bun-install.test.ts b/test/bun.js/install/bun-install.test.ts
index a47bbd2ce..7de46869f 100644
--- a/test/bun.js/install/bun-install.test.ts
+++ b/test/bun.js/install/bun-install.test.ts
@@ -1764,7 +1764,7 @@ it("should consider peerDependencies during hoisting", async () => {
expect(await readdirSorted(join(package_dir, "node_modules", ".bin"))).toEqual(["baz-exec", "baz-run"]);
expect(await readlink(join(package_dir, "node_modules", ".bin", "baz-exec"))).toBe(join("..", "baz", "index.js"));
expect(await readlink(join(package_dir, "node_modules", ".bin", "baz-run"))).toBe(
- join("..", "bar", "node_modules", "baz", "index.js"),
+ join("..", "..", "bar", "node_modules", "baz", "index.js"),
);
expect(await readlink(join(package_dir, "node_modules", "bar"))).toBe(join("..", "bar"));
expect(await readdirSorted(join(package_dir, "bar"))).toEqual(["node_modules", "package.json"]);