[FSSDK-10880] override initial user bug adjustment #433
You are viewing an older attempt in the history of this workflow run.
View latest attempt.
react.yml
on: pull_request
Matrix: unitTests
Jest Coverage Report
1m 18s
Run integration tests
/
test
6s
Annotations
4 errors and 7 warnings
hooks > useDecision > should not recompute the decision when autoupdate is not passed and setting setForcedDecision:
src/hooks.spec.tsx#L1096
Error: expect(element).toHaveTextContent()
Expected element to have text content:
false|{}|true|false
Received:
false|{}|true|true
Ignored nodes: comments, script, style
<html>
<head />
<body>
<div>
<span
data-testid="result"
>
false|{}|true|true
</span>
</div>
</body>
</html>
at /home/runner/work/react-sdk/react-sdk/src/hooks.spec.tsx:1113: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)
|
Jest Coverage Report
Error: The process '/usr/local/bin/npx' failed with exit code 1
Error: The process '/usr/local/bin/npx' failed with exit code 1
at wd._setResult (/home/runner/work/_actions/ArtiomTr/jest-coverage-report-action/v2/dist/index.js:21:19186)
at wd.CheckComplete (/home/runner/work/_actions/ArtiomTr/jest-coverage-report-action/v2/dist/index.js:21:18773)
at ChildProcess.<anonymous> (/home/runner/work/_actions/ArtiomTr/jest-coverage-report-action/v2/dist/index.js:21:17765)
at ChildProcess.emit (node:events:517:28)
at maybeClose (node:internal/child_process:1098:16)
at ChildProcess._handle.onexit (node:internal/child_process:303:5)
|
Jest Coverage Report
Jest coverage report action failed
|
Jest Coverage Report
Process completed with exit code 1.
|
Run Unit Tests (Node 20)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Run Unit Tests (Node 16)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Run Unit Tests (Node 18)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Run Unit Tests (Node 14)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Run integration tests / test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. 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
|
Jest Coverage Report
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|