diff --git a/test/index.js b/test/index.js index d9eeec8..76bcf53 100644 --- a/test/index.js +++ b/test/index.js @@ -23,6 +23,7 @@ test.before (() => { ); res.end (str); }) + // eslint-disable-next-line no-magic-numbers .listen (3000); }); @@ -36,14 +37,14 @@ test ('send request', async (t) => { ); }); -test ('fail salt', (t) => { - t.throwsAsync (async () => { - await client.login ('fail', 'bar', 'http://localhost:3000'); - }); +test ('fail salt', async (t) => { + await t.throwsAsync ( + client.login ('fail', 'bar', 'http://localhost:3000') + ); }); -test ('fail password', (t) => { - t.throwsAsync (async () => { - await client.login ('foo', 'fail', 'http://localhost:3000'); - }); +test ('fail password', async (t) => { + await t.throwsAsync ( + client.login ('foo', 'fail', 'http://localhost:3000') + ); });