Closed ilfa closed 1 year ago
16 tests passing in 5 suites.
Report generated by π§ͺjest coverage report action from bce61be6964ac8044c1b022b00c782ed62f20267
:tada: This PR is included in version 2.1.1 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
Coverage report
Test suite run success
16 tests passing in 5 suites.
Report generated by π§ͺjest coverage report action from bce61be6964ac8044c1b022b00c782ed62f20267
Show full coverage report
St|File | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s --|-----------------------|---------|----------|---------|---------|--------------------- π’|All files | 90.82 | 81.03 | 76.47 | 90.71 | π’| src| 92.38 | 88.57 | 67.85 | 91.3 | π΄| [agent-server-mock.ts](https://github.com/fingerprintjs/fingerprintjs-pro-react/blob/dd7aa29ab44156217a4b5bc98cd03fe23c0f59df/src/agent-server-mock.ts)| 0 | 100 | 0 | 0 |[3-5](https://github.com/fingerprintjs/fingerprintjs-pro-react/blob/dd7aa29ab44156217a4b5bc98cd03fe23c0f59df/src/agent-server-mock.ts#L3-L5) π’| [detect-env.ts](https://github.com/fingerprintjs/fingerprintjs-pro-react/blob/dd7aa29ab44156217a4b5bc98cd03fe23c0f59df/src/detect-env.ts)| 92.3 | 86.66 | 100 | 91.3 |[15](https://github.com/fingerprintjs/fingerprintjs-pro-react/blob/dd7aa29ab44156217a4b5bc98cd03fe23c0f59df/src/detect-env.ts#L15),[85](https://github.com/fingerprintjs/fingerprintjs-pro-react/blob/dd7aa29ab44156217a4b5bc98cd03fe23c0f59df/src/detect-env.ts#L85) π’| [env.ts](https://github.com/fingerprintjs/fingerprintjs-pro-react/blob/dd7aa29ab44156217a4b5bc98cd03fe23c0f59df/src/env.ts)| 100 | 100 | 100 | 100 | π’| [env.types.ts](https://github.com/fingerprintjs/fingerprintjs-pro-react/blob/dd7aa29ab44156217a4b5bc98cd03fe23c0f59df/src/env.types.ts)| 100 | 100 | 100 | 100 | π’| [fpjs-context.ts](https://github.com/fingerprintjs/fingerprintjs-pro-react/blob/dd7aa29ab44156217a4b5bc98cd03fe23c0f59df/src/fpjs-context.ts)| 83.33 | 100 | 0 | 83.33 |[38](https://github.com/fingerprintjs/fingerprintjs-pro-react/blob/dd7aa29ab44156217a4b5bc98cd03fe23c0f59df/src/fpjs-context.ts#L38) π‘| [get-env.ts](https://github.com/fingerprintjs/fingerprintjs-pro-react/blob/dd7aa29ab44156217a4b5bc98cd03fe23c0f59df/src/get-env.ts)| 75 | 0 | 100 | 75 |[9-10](https://github.com/fingerprintjs/fingerprintjs-pro-react/blob/dd7aa29ab44156217a4b5bc98cd03fe23c0f59df/src/get-env.ts#L9-L10) π’| [index.ts](https://github.com/fingerprintjs/fingerprintjs-pro-react/blob/dd7aa29ab44156217a4b5bc98cd03fe23c0f59df/src/index.ts)| 100 | 100 | 14.28 | 100 | π’| [ssr.ts](https://github.com/fingerprintjs/fingerprintjs-pro-react/blob/dd7aa29ab44156217a4b5bc98cd03fe23c0f59df/src/ssr.ts)| 100 | 100 | 100 | 100 | π’| [use-visitor-data.ts](https://github.com/fingerprintjs/fingerprintjs-pro-react/blob/dd7aa29ab44156217a4b5bc98cd03fe23c0f59df/src/use-visitor-data.ts)| 97.67 | 93.33 | 87.5 | 97.22 |[77](https://github.com/fingerprintjs/fingerprintjs-pro-react/blob/dd7aa29ab44156217a4b5bc98cd03fe23c0f59df/src/use-visitor-data.ts#L77) π’| src/components| 90.54 | 75 | 86.66 | 92.64 | π’| [fpjs-provider.tsx](https://github.com/fingerprintjs/fingerprintjs-pro-react/blob/dd7aa29ab44156217a4b5bc98cd03fe23c0f59df/src/components/fpjs-provider.tsx)| 88.33 | 69.23 | 83.33 | 91.07 |[106](https://github.com/fingerprintjs/fingerprintjs-pro-react/blob/dd7aa29ab44156217a4b5bc98cd03fe23c0f59df/src/components/fpjs-provider.tsx#L106),[112-117](https://github.com/fingerprintjs/fingerprintjs-pro-react/blob/dd7aa29ab44156217a4b5bc98cd03fe23c0f59df/src/components/fpjs-provider.tsx#L112-L117),[136-138](https://github.com/fingerprintjs/fingerprintjs-pro-react/blob/dd7aa29ab44156217a4b5bc98cd03fe23c0f59df/src/components/fpjs-provider.tsx#L136-L138) π’| [with-environment.tsx](https://github.com/fingerprintjs/fingerprintjs-pro-react/blob/dd7aa29ab44156217a4b5bc98cd03fe23c0f59df/src/components/with-environment.tsx)| 100 | 100 | 100 | 100 | π’| src/utils| 85.71 | 57.14 | 87.5 | 82.6 | π‘| [assert-is-truthy.ts](https://github.com/fingerprintjs/fingerprintjs-pro-react/blob/dd7aa29ab44156217a4b5bc98cd03fe23c0f59df/src/utils/assert-is-truthy.ts)| 66.66 | 0 | 100 | 66.66 |[3](https://github.com/fingerprintjs/fingerprintjs-pro-react/blob/dd7aa29ab44156217a4b5bc98cd03fe23c0f59df/src/utils/assert-is-truthy.ts#L3) π‘| [to-error.ts](https://github.com/fingerprintjs/fingerprintjs-pro-react/blob/dd7aa29ab44156217a4b5bc98cd03fe23c0f59df/src/utils/to-error.ts)| 75 | 100 | 100 | 75 |[6](https://github.com/fingerprintjs/fingerprintjs-pro-react/blob/dd7aa29ab44156217a4b5bc98cd03fe23c0f59df/src/utils/to-error.ts#L6) π’| [use-previous.ts](https://github.com/fingerprintjs/fingerprintjs-pro-react/blob/dd7aa29ab44156217a4b5bc98cd03fe23c0f59df/src/utils/use-previous.ts)| 100 | 100 | 100 | 100 | π’| [wait-until.ts](https://github.com/fingerprintjs/fingerprintjs-pro-react/blob/dd7aa29ab44156217a4b5bc98cd03fe23c0f59df/src/utils/wait-until.ts)| 86.66 | 60 | 75 | 80 |[10-12](https://github.com/fingerprintjs/fingerprintjs-pro-react/blob/dd7aa29ab44156217a4b5bc98cd03fe23c0f59df/src/utils/wait-until.ts#L10-L12)