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.
TypeScript analyticsaudience-segmentationchartscohort-analysisgoogle-analyticsproduct-analyticsstatisticsuser-journeyweb-analytics
Remove no longer applicable CloudFlare header test Closes #3773
Francis Cao67981db52425
diff --git a/src/lib/__tests__/detect.test.ts b/src/lib/__tests__/detect.test.tsindex f02ac8392..0395aef56 100644--- a/src/lib/__tests__/detect.test.ts+++ b/src/lib/__tests__/detect.test.ts@@ -17,12 +17,6 @@ test('getIpAddress: Standard header', () => {expect(getIpAddress(new Headers({ 'x-forwarded-for': IP }))).toEqual(IP);});-test('getIpAddress: CloudFlare header is lower priority than standard header', () => {- expect(getIpAddress(new Headers({ 'cf-connecting-ip': BAD_IP, 'x-forwarded-for': IP }))).toEqual(- IP,- );-});-test('getIpAddress: No header', () => {expect(getIpAddress(new Headers())).toEqual(null);});