aboutsummaryrefslogtreecommitdiff
path: root/test/bun.js/install/bun-link.test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'test/bun.js/install/bun-link.test.ts')
-rw-r--r--test/bun.js/install/bun-link.test.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/bun.js/install/bun-link.test.ts b/test/bun.js/install/bun-link.test.ts
index b892c00e0..c2cf459e2 100644
--- a/test/bun.js/install/bun-link.test.ts
+++ b/test/bun.js/install/bun-link.test.ts
@@ -50,7 +50,7 @@ it("should link package", async () => {
const err1 = await new Response(stderr1).text();
expect(err1.replace(/^(.*?) v[^\n]+/, "$1").split(/\r?\n/)).toEqual(["bun link", ""]);
expect(stdout1).toBeDefined();
- expect(await new Response(stdout1).text()).toContain(`Success! Registered "${link_name}"`);
+ expect(await new Response(stdout1).text()).toContain(`Success! Registered \\"${link_name}\\"`);
expect(await exited1).toBe(0);
const {
@@ -152,7 +152,7 @@ it("should link scoped package", async () => {
const err1 = await new Response(stderr1).text();
expect(err1.replace(/^(.*?) v[^\n]+/, "$1").split(/\r?\n/)).toEqual(["bun link", ""]);
expect(stdout1).toBeDefined();
- expect(await new Response(stdout1).text()).toContain(`Success! Registered "${link_name}"`);
+ expect(await new Response(stdout1).text()).toContain(`Success! Registered \\"${link_name}\\"`);
expect(await exited1).toBe(0);
const {