Push on master #215
Annotations
1 error and 44 warnings
hooks > useDecision > should not re-render when the user attributes change without autoUpdate:
src/hooks.spec.tsx#L953
Error: expect(element).toHaveTextContent()
Expected element to have text content:
false|{}|true|false
Received:
true|{"foo":"bar"}|true|false
Ignored nodes: comments, script, style
<html>
<head />
<body>
<div>
<span
data-testid="result"
>
true|{"foo":"bar"}|true|false
</span>
</div>
</body>
</html>
at /home/runner/work/react-sdk/react-sdk/src/hooks.spec.tsx:972:64
at runWithExpensiveErrorDiagnosticsDisabled (/home/runner/work/react-sdk/react-sdk/node_modules/@testing-library/dom/dist/config.js:47:12)
at checkCallback (/home/runner/work/react-sdk/react-sdk/node_modules/@testing-library/dom/dist/wait-for.js:124:77)
at checkRealTimersCallback (/home/runner/work/react-sdk/react-sdk/node_modules/@testing-library/dom/dist/wait-for.js:118:16)
at Timeout.task [as _onTimeout] (/home/runner/work/react-sdk/react-sdk/node_modules/jsdom/lib/jsdom/browser/Window.js:520:19)
at listOnTimeout (node:internal/timers:569:17)
at processTimers (node:internal/timers:512:7)
|
🧾 Statement is not covered:
src/client.ts#L357
Warning! Not covered statement
|
🧾 Statement is not covered:
src/client.ts#L360
Warning! Not covered statement
|
🧾 Statement is not covered:
src/client.ts#L725
Warning! Not covered statement
|
🌿 Branch is not covered:
src/client.ts#L351
Warning! Not covered branch
|
🌿 Branch is not covered:
src/client.ts#L356
Warning! Not covered branch
|
🌿 Branch is not covered:
src/client.ts#L369
Warning! Not covered branch
|
🌿 Branch is not covered:
src/client.ts#L398
Warning! Not covered branch
|
🌿 Branch is not covered:
src/client.ts#L404
Warning! Not covered branch
|
🌿 Branch is not covered:
src/client.ts#L537
Warning! Not covered branch
|
🌿 Branch is not covered:
src/client.ts#L573
Warning! Not covered branch
|
🌿 Branch is not covered:
src/client.ts#L1240
Warning! Not covered branch
|
🕹️ Function is not covered:
src/client.ts#L237
Warning! Not covered function
|
🕹️ Function is not covered:
src/client.ts#L725
Warning! Not covered function
|
🧾 Statement is not covered:
src/Experiment.tsx#L66
Warning! Not covered statement
|
🌿 Branch is not covered:
src/Experiment.tsx#L65
Warning! Not covered branch
|
🧾 Statement is not covered:
src/hooks.ts#L153
Warning! Not covered statement
|
🧾 Statement is not covered:
src/hooks.ts#L175
Warning! Not covered statement
|
🧾 Statement is not covered:
src/hooks.ts#L222
Warning! Not covered statement
|
🧾 Statement is not covered:
src/hooks.ts#L527
Warning! Not covered statement
|
🧾 Statement is not covered:
src/hooks.ts#L527
Warning! Not covered statement
|
🌿 Branch is not covered:
src/hooks.ts#L151
Warning! Not covered branch
|
🌿 Branch is not covered:
src/hooks.ts#L152
Warning! Not covered branch
|
🌿 Branch is not covered:
src/hooks.ts#L173
Warning! Not covered branch
|
🌿 Branch is not covered:
src/hooks.ts#L174
Warning! Not covered branch
|
🌿 Branch is not covered:
src/hooks.ts#L195
Warning! Not covered branch
|
🌿 Branch is not covered:
src/hooks.ts#L221
Warning! Not covered branch
|
🌿 Branch is not covered:
src/hooks.ts#L259
Warning! Not covered branch
|
🌿 Branch is not covered:
src/hooks.ts#L259
Warning! Not covered branch
|
🌿 Branch is not covered:
src/hooks.ts#L266
Warning! Not covered branch
|
🌿 Branch is not covered:
src/hooks.ts#L357
Warning! Not covered branch
|
🌿 Branch is not covered:
src/hooks.ts#L357
Warning! Not covered branch
|
🌿 Branch is not covered:
src/hooks.ts#L363
Warning! Not covered branch
|
🌿 Branch is not covered:
src/hooks.ts#L364
Warning! Not covered branch
|
🌿 Branch is not covered:
src/hooks.ts#L408
Warning! Not covered branch
|
🌿 Branch is not covered:
src/hooks.ts#L446
Warning! Not covered branch
|
🌿 Branch is not covered:
src/hooks.ts#L446
Warning! Not covered branch
|
🌿 Branch is not covered:
src/hooks.ts#L463
Warning! Not covered branch
|
🌿 Branch is not covered:
src/hooks.ts#L509
Warning! Not covered branch
|
🌿 Branch is not covered:
src/hooks.ts#L589
Warning! Not covered branch
|
🕹️ Function is not covered:
src/hooks.ts#L526
Warning! Not covered function
|
🕹️ Function is not covered:
src/hooks.ts#L527
Warning! Not covered function
|
🌿 Branch is not covered:
src/Provider.tsx#L80
Warning! Not covered branch
|
🌿 Branch is not covered:
src/Provider.tsx#L114
Warning! Not covered branch
|
🌿 Branch is not covered:
src/Provider.tsx#L119
Warning! Not covered branch
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
sarif-artifact-javascript-typescript
|
70.1 KB |
|