We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c8ef17c commit 186efabCopy full SHA for 186efab
unit-test/features.js
@@ -0,0 +1,24 @@
1
+import { platformSupport } from '../src/features.js'
2
+
3
+describe('Features definition', () => {
4
+ fit('calls `webCompat` before `fingerPrintingScreenSize` https://app.asana.com/0/1177771139624306/1204944717262422/f', () => {
5
+ // ensuring this order doesn't change, as it recently caused breakage
6
+ expect(platformSupport.apple).toEqual([
7
+ 'webCompat',
8
+ 'runtimeChecks',
9
+ 'fingerprintingAudio',
10
+ 'fingerprintingBattery',
11
+ 'fingerprintingCanvas',
12
+ 'cookie',
13
+ 'googleRejected',
14
+ 'gpc',
15
+ 'fingerprintingHardware',
16
+ 'referrer',
17
+ 'fingerprintingScreenSize',
18
+ 'fingerprintingTemporaryStorage',
19
+ 'navigatorInterface',
20
+ 'elementHiding',
21
+ 'exceptionHandler'
22
+ ])
23
+ })
24
+})
0 commit comments