Skip to content

Commit

Permalink
fix: tweak sleep time
Browse files Browse the repository at this point in the history
  • Loading branch information
kazupon committed Oct 20, 2023
1 parent 1d3cefd commit 45255c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion playground/node/node.test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const sleep = (ms) => new Promise((resolve) => setTimeout(resolve, ms))

test('node integration test', async () => {
const child = spawn('npx', ['tsx', './index.ts'], { cwd: process.cwd(), stdio: 'inherit' })
await sleep(1000)
await sleep(2000)

const req = new Request('http://localhost:8123')
req.headers.set('accept-language', 'en-US,en;q=0.9,ja;q=0.8')
Expand Down

0 comments on commit 45255c9

Please sign in to comment.