[FSSDK-10880] override initial user bug adjustment #344
ticket_reference_check.yml
on: pull_request
Check PR description has Jira number
3s
Annotations
1 error and 3 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)
|
Check PR description has Jira number
The following actions uses node12 which is deprecated and will be forced to run on node16: optimizely/github-action-ticket-reference-checker-public@master. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Check PR description has Jira number
The following actions use a deprecated Node.js version and will be forced to run on node20: optimizely/github-action-ticket-reference-checker-public@master. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
🌿 Branch is not covered:
src/Provider.tsx#L80
Warning! Not covered branch
|