diff --git a/src/lib/__tests__/detect.test.ts b/src/lib/__tests__/detect.test.ts index 89b9c6c45e..14c67ddefe 100644 --- a/src/lib/__tests__/detect.test.ts +++ b/src/lib/__tests__/detect.test.ts @@ -1,4 +1,5 @@ import * as detect from '../detect'; +import { expect } from '@jest/globals'; const IP = '127.0.0.1'; diff --git a/src/lib/__tests__/format.test.ts b/src/lib/__tests__/format.test.ts index 6e1b319f09..2f68dc1882 100644 --- a/src/lib/__tests__/format.test.ts +++ b/src/lib/__tests__/format.test.ts @@ -1,4 +1,5 @@ import * as format from '../format'; +import { expect } from '@jest/globals'; test('parseTime', () => { expect(format.parseTime(86400 + 3600 + 60 + 1)).toEqual({