Skip to content

armgit / umami

Public Imported from GitHub
0

Umami is a privacy-first web and product analytics platform. Traffic, campaigns, behavior, conversions, and revenue in one place. No cookies, no surveillance, self-hosted or in the cloud.

try to fix the tests

Pierre Guillemot6f991116b273
diff --git a/src/lib/__tests__/detect.test.ts b/src/lib/__tests__/detect.test.ts
index 89b9c6c45..14c67ddef 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 6e1b319f0..2f68dc188 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({