auto login for nanrui #479
Annotations
7 errors and 1 warning
App test > should get user info when token is not empty:
src/App.test.tsx#L192
Error: expect(jest.fn()).toBeCalledTimes(expected)
Expected number of calls: 5
Received number of calls: 6
at Object.<anonymous> (/home/runner/work/sqle-ui/sqle-ui/src/App.test.tsx:217:27)
|
App test > should dispatch "updateWebTitleAndLog" action and set document title after getting sqle data from the request:
src/App.test.tsx#L291
Error: expect(jest.fn()).toBeCalledTimes(expected)
Expected number of calls: 5
Received number of calls: 6
at Object.<anonymous> (/home/runner/work/sqle-ui/sqle-ui/src/App.test.tsx:310:27)
|
App test > should not get user info when token is empty:
src/App.test.tsx#L341
Error: expect(jest.fn()).not.toBeCalled()
Expected number of calls: 0
Received number of calls: 1
1: {"payload": {"token": ""}, "type": "user/updateToken"}
at Object.<anonymous> (/home/runner/work/sqle-ui/sqle-ui/src/App.test.tsx:358:31)
|
test Nav/Header/Modal > should match snapshot:
src/components/Nav/Header/Modal/index.test.tsx#L66
Error: expect(received).toMatchSnapshot()
Snapshot name: `test Nav/Header/Modal should match snapshot 1`
- Snapshot - 1
+ Received + 1
@@ -88,11 +88,11 @@
>
<h5
class="ant-typography"
>
UI Version:
- feature/issue-110 72a0e52
+ temporary/nan-rui 6fe2ee16
</h5>
</div>
<div
class="ant-space-item"
style="margin-bottom: 8px;"
at Object.<anonymous> (/home/runner/work/sqle-ui/sqle-ui/src/components/Nav/Header/Modal/index.test.tsx:71:25)
|
test-coverage
Error: The process '/usr/local/bin/yarn' failed with exit code 1
Error: The process '/usr/local/bin/yarn' 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)
|
test-coverage
Jest coverage report action failed
|
test-coverage
Process completed with exit code 1.
|
test-coverage
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|