X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=tests%2Futils.test.mjs;h=25b4e5ae0cfd21cc84e5fb523748e84e44a95e0b;hb=28bcd7a31d95fd283814fad692d77b4994c2ac9c;hp=6e97797e35bfc4228e750c3ddf519b625667da77;hpb=80115618ce24038f504dc447dfb7c4fbd9c5d698;p=poolifier.git diff --git a/tests/utils.test.mjs b/tests/utils.test.mjs index 6e97797e..25b4e5ae 100644 --- a/tests/utils.test.mjs +++ b/tests/utils.test.mjs @@ -19,7 +19,7 @@ import { // once, round, secureRandom, - sleep + sleep, } from '../lib/utils.cjs' describe('Utils test suite', () => { @@ -150,7 +150,6 @@ describe('Utils test suite', () => { expect(isAsyncFunction('')).toBe(false) expect(isAsyncFunction([])).toBe(false) expect(isAsyncFunction(new Date())).toBe(false) - // eslint-disable-next-line prefer-regex-literals expect(isAsyncFunction(/[a-z]/i)).toBe(false) expect(isAsyncFunction(new Error())).toBe(false) expect(isAsyncFunction(new Map())).toBe(false)