diff --git a/__tests__/scripts/stdoutputspecial.js b/__tests__/scripts/stdoutputspecial.js index 95f0ff4..6a641cd 100644 --- a/__tests__/scripts/stdoutputspecial.js +++ b/__tests__/scripts/stdoutputspecial.js @@ -1,8 +1,8 @@ //first half of © character -process.stdout.write(Buffer.from([0xC2]), () => { +process.stdout.write(Buffer.from([0xC2]), (err) => { //write in the callback so that the second byte is sent separately setTimeout(() => { process.stdout.write(Buffer.from([0xA9])) //second half of © character - }, 100) + }, 5000) })