diff --git a/__tests__/main.test.ts b/__tests__/main.test.ts index 6f7475e..fd206d7 100644 --- a/__tests__/main.test.ts +++ b/__tests__/main.test.ts @@ -5,7 +5,7 @@ import * as path from 'path' test('throws invalid number', async() => { const input = parseInt('foo', 10); - await expect(wait(input)).rejects.toThrow('milleseconds not a number'); + await expect(wait(input)).rejects.toThrow('milliseconds not a number'); }); test('wait 500 ms', async() => { @@ -24,4 +24,4 @@ test('test runs', () => { env: process.env }; console.log(cp.execSync(`node ${ip}`, options).toString()); -}); \ No newline at end of file +});