Skip to content

[Tests] extract jest config to file, add jest commands, add mocks and add missing tests #1151

[Tests] extract jest config to file, add jest commands, add mocks and add missing tests

[Tests] extract jest config to file, add jest commands, add mocks and add missing tests #1151

Triggered via pull request August 3, 2024 13:01
Status Failure
Total duration 3m 23s
Artifacts

test.yml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 11 warnings
test (macos-latest)
Module '"react/jsx-runtime"' has no exported member 'JSX'.
test (macos-latest)
Process completed with exit code 2.
test (macos-latest)
The following actions uses Node.js version which is deprecated 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/
test (macos-latest): desktop-app/postinstall.ts#L18
Unexpected console statement
test (macos-latest): desktop-app/postinstall.ts#L21
Unexpected console statement
test (macos-latest): desktop-app/postinstall.ts#L23
Unexpected console statement
test (macos-latest): desktop-app/src/__tests__/App.test.tsx#L6
Test has no assertions
test (macos-latest): desktop-app/src/main/app-meta/index.ts#L32
Unexpected console statement
test (macos-latest): desktop-app/src/main/app-updater.ts#L37
'info' is defined but never used
test (macos-latest): desktop-app/src/main/app-updater.ts#L55
'info' is defined but never used