diff options
-rwxr-xr-x | test/bun.lockb | bin | 163146 -> 163146 bytes | |||
-rw-r--r-- | test/js/third_party/prompts/prompts.test.ts | 3 | ||||
-rw-r--r-- | test/package.json | 2 |
3 files changed, 2 insertions, 3 deletions
diff --git a/test/bun.lockb b/test/bun.lockb Binary files differindex a6a467f5b..f4097bda9 100755 --- a/test/bun.lockb +++ b/test/bun.lockb diff --git a/test/js/third_party/prompts/prompts.test.ts b/test/js/third_party/prompts/prompts.test.ts index 9c62456f5..7e052fa6d 100644 --- a/test/js/third_party/prompts/prompts.test.ts +++ b/test/js/third_party/prompts/prompts.test.ts @@ -14,14 +14,13 @@ test("works with prompts", async () => { child.stdin.write("999\n"); Bun.sleepSync(100); child.stdin.write("hi\n"); + expect(await child.exited).toBe(0); var out = ""; for await (const chunk of child.stdout) { out += new TextDecoder().decode(chunk); } - expect(await child.exited).toBe(0); - expect(out).toContain('twitter: "@dylan"'); expect(out).toContain("age: 999"); expect(out).toContain('secret: "hi"'); diff --git a/test/package.json b/test/package.json index d7ae63d11..ad28f114a 100644 --- a/test/package.json +++ b/test/package.json @@ -27,7 +27,7 @@ "pg-connection-string": "2.6.1", "postgres": "3.3.5", "prisma": "5.1.1", - "prompts": "^2.4.2", + "prompts": "2.4.2", "socket.io": "4.7.1", "socket.io-client": "4.7.1", "supertest": "6.3.3", |