Skip to content

Fix: salt error

Fix: salt error #25

Triggered via pull request September 21, 2024 10:59
Status Failure
Total duration 34s
Artifacts

tests.yml

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

Annotations

3 errors
Unhandled error: packages/renderer/src/components/topBar/ReportProblemModal.tsx#L36
TypeError: getLogsInfo is not a function ❯ fetchData src/components/topBar/ReportProblemModal.tsx:36:29 ❯ src/components/topBar/ReportProblemModal.tsx:41:5 ❯ commitHookEffectListMount ../../node_modules/react-dom/cjs/react-dom.development.js:23189:26 ❯ commitPassiveMountOnFiber ../../node_modules/react-dom/cjs/react-dom.development.js:24970:11 ❯ commitPassiveMountEffects_complete ../../node_modules/react-dom/cjs/react-dom.development.js:24930:9 ❯ commitPassiveMountEffects_begin ../../node_modules/react-dom/cjs/react-dom.development.js:24917:7 ❯ commitPassiveMountEffects ../../node_modules/react-dom/cjs/react-dom.development.js:24905:3 ❯ flushPassiveEffectsImpl ../../node_modules/react-dom/cjs/react-dom.development.js:27078:3 ❯ flushPassiveEffects ../../node_modules/react-dom/cjs/react-dom.development.js:27023:14 ❯ performSyncWorkOnRoot ../../node_modules/react-dom/cjs/react-dom.development.js:26115:3 This error originated in "src/components/App.test.tsx" test file. It doesn't mean the error was thrown inside the file itself, but while it was running. The latest test that might've caused the error is "src/components/App.test.tsx". It might mean one of the following: - The error was thrown, while Vitest was running this test. - If the error occurred after the test had been completed, this was the last documented test before it was thrown.
src/components/App.test.tsx > renders learn react link: packages/renderer/src/store/AppInfoStore.tsx#L31
TypeError: getAppInfo is not a function ❯ src/store/AppInfoStore.tsx:31:5 ❯ commitHookEffectListMount ../../node_modules/react-dom/cjs/react-dom.development.js:23189:26 ❯ commitPassiveMountOnFiber ../../node_modules/react-dom/cjs/react-dom.development.js:24970:11 ❯ commitPassiveMountEffects_complete ../../node_modules/react-dom/cjs/react-dom.development.js:24930:9 ❯ commitPassiveMountEffects_begin ../../node_modules/react-dom/cjs/react-dom.development.js:24917:7 ❯ commitPassiveMountEffects ../../node_modules/react-dom/cjs/react-dom.development.js:24905:3 ❯ flushPassiveEffectsImpl ../../node_modules/react-dom/cjs/react-dom.development.js:27078:3 ❯ flushPassiveEffects ../../node_modules/react-dom/cjs/react-dom.development.js:27023:14 ❯ performSyncWorkOnRoot ../../node_modules/react-dom/cjs/react-dom.development.js:26115:3 ❯ flushSyncCallbacks ../../node_modules/react-dom/cjs/react-dom.development.js:12042:22
tests (ubuntu-latest)
Process completed with exit code 1.