Skip to content

🔧 Optimize some import issues. #1459

🔧 Optimize some import issues.

🔧 Optimize some import issues. #1459

GitHub Actions / Test Results failed Feb 22, 2024 in 0s

4 fail, 30 pass in 5s

34 tests  ±0   30 ✅  - 4   5s ⏱️ ±0s
15 suites ±0    0 💤 ±0 
 1 files   ±0    4 ❌ +4 

Results for commit 2db3063. ± Comparison against earlier commit 55740eb.

Annotations

Check warning on line 0 in src/__tests__/components/TopBar/PopUps/AccessibilityDialog.test.tsx

See this annotation in the file changed.

@github-actions github-actions / Test Results

AccessibilityDialog > PopUp (src/__tests__/components/TopBar/PopUps/AccessibilityDialog.test.tsx) failed

frontend/reports/vitest-junit.xml [took 0s]
Raw output
A component suspended while responding to synchronous input. This will cause the UI to be replaced with a loading indicator. To fix, updates that suspend should be wrapped with startTransition.

Error: A component suspended while responding to synchronous input. This will cause the UI to be replaced with a loading indicator. To fix, updates that suspend should be wrapped with startTransition.
 ❯ throwException node_modules/react-dom/cjs/react-dom.development.js:19055:35
 ❯ handleError node_modules/react-dom/cjs/react-dom.development.js:26311:7
 ❯ renderRootSync node_modules/react-dom/cjs/react-dom.development.js:26437:7
 ❯ recoverFromConcurrentError node_modules/react-dom/cjs/react-dom.development.js:25850:20
 ❯ performSyncWorkOnRoot node_modules/react-dom/cjs/react-dom.development.js:26096:20
 ❯ flushSyncCallbacks node_modules/react-dom/cjs/react-dom.development.js:12042:22
 ❯ flushActQueue node_modules/react/cjs/react.development.js:2667:24
 ❯ act node_modules/react/cjs/react.development.js:2582:11
 ❯ node_modules/@testing-library/react/dist/act-compat.js:46:25
 ❯ Object.eventWrapper node_modules/@testing-library/react/dist/pure.js:92:28

The above error occurred in one of your React components:

    at Lazy
    at div
    at /home/runner/work/ESID/ESID/frontend/node_modules/@emotion/react/dist/emotion-element-48d2c2e4.cjs.dev.js:62:23
    at Paper (/home/runner/work/ESID/ESID/frontend/node_modules/@mui/material/node/Paper/Paper.js:69:44)
    at /home/runner/work/ESID/ESID/frontend/node_modules/@emotion/react/dist/emotion-element-48d2c2e4.cjs.dev.js:62:23
    at div
    at /home/runner/work/ESID/ESID/frontend/node_modules/@emotion/react/dist/emotion-element-48d2c2e4.cjs.dev.js:62:23
    at Transition (/home/runner/work/ESID/ESID/frontend/node_modules/react-transition-group/cjs/Transition.js:135:30)
    at Fade (/home/runner/work/ESID/ESID/frontend/node_modules/@mui/material/node/Fade/Fade.js:36:39)
    at FocusTrap (/home/runner/work/ESID/ESID/frontend/node_modules/@mui/base/node/FocusTrap/FocusTrap.js:94:5)
    at div
    at /home/runner/work/ESID/ESID/frontend/node_modules/@emotion/react/dist/emotion-element-48d2c2e4.cjs.dev.js:62:23
    at Portal (/home/runner/work/ESID/ESID/frontend/node_modules/@mui/base/node/Portal/Portal.js:34:5)
    at Modal (/home/runner/work/ESID/ESID/frontend/node_modules/@mui/material/node/Modal/Modal.js:87:44)
    at /home/runner/work/ESID/ESID/frontend/node_modules/@emotion/react/dist/emotion-element-48d2c2e4.cjs.dev.js:62:23
    at Dialog (/home/runner/work/ESID/ESID/frontend/node_modules/@mui/material/node/Dialog/Dialog.js:161:44)
    at div
    at /home/runner/work/ESID/ESID/frontend/node_modules/@emotion/react/dist/emotion-element-48d2c2e4.cjs.dev.js:62:23
    at Box (/home/runner/work/ESID/ESID/frontend/node_modules/@mui/system/createBox.js:31:41)
    at ApplicationMenu (/home/runner/work/ESID/ESID/frontend/src/components/TopBar/ApplicationMenu.tsx:32:39)
    at I18nextProvider (/home/runner/work/ESID/ESID/frontend/node_modules/react-i18next/dist/es/I18nextProvider.js:7:5)

Consider adding an error boundary to your tree to customize error handling behavior.
Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.

Check warning on line 0 in src/__tests__/components/TopBar/PopUps/AttributionDialog.test.tsx

See this annotation in the file changed.

@github-actions github-actions / Test Results

AttributionDialog > PopUp (src/__tests__/components/TopBar/PopUps/AttributionDialog.test.tsx) failed

frontend/reports/vitest-junit.xml [took 0s]
Raw output
A component suspended while responding to synchronous input. This will cause the UI to be replaced with a loading indicator. To fix, updates that suspend should be wrapped with startTransition.

Error: A component suspended while responding to synchronous input. This will cause the UI to be replaced with a loading indicator. To fix, updates that suspend should be wrapped with startTransition.
 ❯ throwException node_modules/react-dom/cjs/react-dom.development.js:19055:35
 ❯ handleError node_modules/react-dom/cjs/react-dom.development.js:26311:7
 ❯ renderRootSync node_modules/react-dom/cjs/react-dom.development.js:26437:7
 ❯ recoverFromConcurrentError node_modules/react-dom/cjs/react-dom.development.js:25850:20
 ❯ performSyncWorkOnRoot node_modules/react-dom/cjs/react-dom.development.js:26096:20
 ❯ flushSyncCallbacks node_modules/react-dom/cjs/react-dom.development.js:12042:22
 ❯ flushActQueue node_modules/react/cjs/react.development.js:2667:24
 ❯ act node_modules/react/cjs/react.development.js:2582:11
 ❯ node_modules/@testing-library/react/dist/act-compat.js:46:25
 ❯ Object.eventWrapper node_modules/@testing-library/react/dist/pure.js:92:28

The above error occurred in one of your React components:

    at Lazy
    at div
    at /home/runner/work/ESID/ESID/frontend/node_modules/@emotion/react/dist/emotion-element-48d2c2e4.cjs.dev.js:62:23
    at Paper (/home/runner/work/ESID/ESID/frontend/node_modules/@mui/material/node/Paper/Paper.js:69:44)
    at /home/runner/work/ESID/ESID/frontend/node_modules/@emotion/react/dist/emotion-element-48d2c2e4.cjs.dev.js:62:23
    at div
    at /home/runner/work/ESID/ESID/frontend/node_modules/@emotion/react/dist/emotion-element-48d2c2e4.cjs.dev.js:62:23
    at Transition (/home/runner/work/ESID/ESID/frontend/node_modules/react-transition-group/cjs/Transition.js:135:30)
    at Fade (/home/runner/work/ESID/ESID/frontend/node_modules/@mui/material/node/Fade/Fade.js:36:39)
    at FocusTrap (/home/runner/work/ESID/ESID/frontend/node_modules/@mui/base/node/FocusTrap/FocusTrap.js:94:5)
    at div
    at /home/runner/work/ESID/ESID/frontend/node_modules/@emotion/react/dist/emotion-element-48d2c2e4.cjs.dev.js:62:23
    at Portal (/home/runner/work/ESID/ESID/frontend/node_modules/@mui/base/node/Portal/Portal.js:34:5)
    at Modal (/home/runner/work/ESID/ESID/frontend/node_modules/@mui/material/node/Modal/Modal.js:87:44)
    at /home/runner/work/ESID/ESID/frontend/node_modules/@emotion/react/dist/emotion-element-48d2c2e4.cjs.dev.js:62:23
    at Dialog (/home/runner/work/ESID/ESID/frontend/node_modules/@mui/material/node/Dialog/Dialog.js:161:44)
    at div
    at /home/runner/work/ESID/ESID/frontend/node_modules/@emotion/react/dist/emotion-element-48d2c2e4.cjs.dev.js:62:23
    at Box (/home/runner/work/ESID/ESID/frontend/node_modules/@mui/system/createBox.js:31:41)
    at ApplicationMenu (/home/runner/work/ESID/ESID/frontend/src/components/TopBar/ApplicationMenu.tsx:32:39)
    at I18nextProvider (/home/runner/work/ESID/ESID/frontend/node_modules/react-i18next/dist/es/I18nextProvider.js:7:5)

Consider adding an error boundary to your tree to customize error handling behavior.
Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.

Check warning on line 0 in src/__tests__/components/TopBar/PopUps/ImprintDialog.test.tsx

See this annotation in the file changed.

@github-actions github-actions / Test Results

ImprintDialog > PopUp (src/__tests__/components/TopBar/PopUps/ImprintDialog.test.tsx) failed

frontend/reports/vitest-junit.xml [took 0s]
Raw output
A component suspended while responding to synchronous input. This will cause the UI to be replaced with a loading indicator. To fix, updates that suspend should be wrapped with startTransition.

Error: A component suspended while responding to synchronous input. This will cause the UI to be replaced with a loading indicator. To fix, updates that suspend should be wrapped with startTransition.
 ❯ throwException node_modules/react-dom/cjs/react-dom.development.js:19055:35
 ❯ handleError node_modules/react-dom/cjs/react-dom.development.js:26311:7
 ❯ renderRootSync node_modules/react-dom/cjs/react-dom.development.js:26437:7
 ❯ recoverFromConcurrentError node_modules/react-dom/cjs/react-dom.development.js:25850:20
 ❯ performSyncWorkOnRoot node_modules/react-dom/cjs/react-dom.development.js:26096:20
 ❯ flushSyncCallbacks node_modules/react-dom/cjs/react-dom.development.js:12042:22
 ❯ flushActQueue node_modules/react/cjs/react.development.js:2667:24
 ❯ act node_modules/react/cjs/react.development.js:2582:11
 ❯ node_modules/@testing-library/react/dist/act-compat.js:46:25
 ❯ Object.eventWrapper node_modules/@testing-library/react/dist/pure.js:92:28

The above error occurred in one of your React components:

    at Lazy
    at div
    at /home/runner/work/ESID/ESID/frontend/node_modules/@emotion/react/dist/emotion-element-48d2c2e4.cjs.dev.js:62:23
    at Paper (/home/runner/work/ESID/ESID/frontend/node_modules/@mui/material/node/Paper/Paper.js:69:44)
    at /home/runner/work/ESID/ESID/frontend/node_modules/@emotion/react/dist/emotion-element-48d2c2e4.cjs.dev.js:62:23
    at div
    at /home/runner/work/ESID/ESID/frontend/node_modules/@emotion/react/dist/emotion-element-48d2c2e4.cjs.dev.js:62:23
    at Transition (/home/runner/work/ESID/ESID/frontend/node_modules/react-transition-group/cjs/Transition.js:135:30)
    at Fade (/home/runner/work/ESID/ESID/frontend/node_modules/@mui/material/node/Fade/Fade.js:36:39)
    at FocusTrap (/home/runner/work/ESID/ESID/frontend/node_modules/@mui/base/node/FocusTrap/FocusTrap.js:94:5)
    at div
    at /home/runner/work/ESID/ESID/frontend/node_modules/@emotion/react/dist/emotion-element-48d2c2e4.cjs.dev.js:62:23
    at Portal (/home/runner/work/ESID/ESID/frontend/node_modules/@mui/base/node/Portal/Portal.js:34:5)
    at Modal (/home/runner/work/ESID/ESID/frontend/node_modules/@mui/material/node/Modal/Modal.js:87:44)
    at /home/runner/work/ESID/ESID/frontend/node_modules/@emotion/react/dist/emotion-element-48d2c2e4.cjs.dev.js:62:23
    at Dialog (/home/runner/work/ESID/ESID/frontend/node_modules/@mui/material/node/Dialog/Dialog.js:161:44)
    at div
    at /home/runner/work/ESID/ESID/frontend/node_modules/@emotion/react/dist/emotion-element-48d2c2e4.cjs.dev.js:62:23
    at Box (/home/runner/work/ESID/ESID/frontend/node_modules/@mui/system/createBox.js:31:41)
    at ApplicationMenu (/home/runner/work/ESID/ESID/frontend/src/components/TopBar/ApplicationMenu.tsx:32:39)
    at I18nextProvider (/home/runner/work/ESID/ESID/frontend/node_modules/react-i18next/dist/es/I18nextProvider.js:7:5)

Consider adding an error boundary to your tree to customize error handling behavior.
Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.

Check warning on line 0 in src/__tests__/components/TopBar/PopUps/PrivacyPolicyDialog.test.tsx

See this annotation in the file changed.

@github-actions github-actions / Test Results

PrivacyPolicyDialog > PopUp (src/__tests__/components/TopBar/PopUps/PrivacyPolicyDialog.test.tsx) failed

frontend/reports/vitest-junit.xml [took 0s]
Raw output
A component suspended while responding to synchronous input. This will cause the UI to be replaced with a loading indicator. To fix, updates that suspend should be wrapped with startTransition.

Error: A component suspended while responding to synchronous input. This will cause the UI to be replaced with a loading indicator. To fix, updates that suspend should be wrapped with startTransition.
 ❯ throwException node_modules/react-dom/cjs/react-dom.development.js:19055:35
 ❯ handleError node_modules/react-dom/cjs/react-dom.development.js:26311:7
 ❯ renderRootSync node_modules/react-dom/cjs/react-dom.development.js:26437:7
 ❯ recoverFromConcurrentError node_modules/react-dom/cjs/react-dom.development.js:25850:20
 ❯ performSyncWorkOnRoot node_modules/react-dom/cjs/react-dom.development.js:26096:20
 ❯ flushSyncCallbacks node_modules/react-dom/cjs/react-dom.development.js:12042:22
 ❯ flushActQueue node_modules/react/cjs/react.development.js:2667:24
 ❯ act node_modules/react/cjs/react.development.js:2582:11
 ❯ node_modules/@testing-library/react/dist/act-compat.js:46:25
 ❯ Object.eventWrapper node_modules/@testing-library/react/dist/pure.js:92:28

The above error occurred in one of your React components:

    at Lazy
    at div
    at /home/runner/work/ESID/ESID/frontend/node_modules/@emotion/react/dist/emotion-element-48d2c2e4.cjs.dev.js:62:23
    at Paper (/home/runner/work/ESID/ESID/frontend/node_modules/@mui/material/node/Paper/Paper.js:69:44)
    at /home/runner/work/ESID/ESID/frontend/node_modules/@emotion/react/dist/emotion-element-48d2c2e4.cjs.dev.js:62:23
    at div
    at /home/runner/work/ESID/ESID/frontend/node_modules/@emotion/react/dist/emotion-element-48d2c2e4.cjs.dev.js:62:23
    at Transition (/home/runner/work/ESID/ESID/frontend/node_modules/react-transition-group/cjs/Transition.js:135:30)
    at Fade (/home/runner/work/ESID/ESID/frontend/node_modules/@mui/material/node/Fade/Fade.js:36:39)
    at FocusTrap (/home/runner/work/ESID/ESID/frontend/node_modules/@mui/base/node/FocusTrap/FocusTrap.js:94:5)
    at div
    at /home/runner/work/ESID/ESID/frontend/node_modules/@emotion/react/dist/emotion-element-48d2c2e4.cjs.dev.js:62:23
    at Portal (/home/runner/work/ESID/ESID/frontend/node_modules/@mui/base/node/Portal/Portal.js:34:5)
    at Modal (/home/runner/work/ESID/ESID/frontend/node_modules/@mui/material/node/Modal/Modal.js:87:44)
    at /home/runner/work/ESID/ESID/frontend/node_modules/@emotion/react/dist/emotion-element-48d2c2e4.cjs.dev.js:62:23
    at Dialog (/home/runner/work/ESID/ESID/frontend/node_modules/@mui/material/node/Dialog/Dialog.js:161:44)
    at div
    at /home/runner/work/ESID/ESID/frontend/node_modules/@emotion/react/dist/emotion-element-48d2c2e4.cjs.dev.js:62:23
    at Box (/home/runner/work/ESID/ESID/frontend/node_modules/@mui/system/createBox.js:31:41)
    at ApplicationMenu (/home/runner/work/ESID/ESID/frontend/src/components/TopBar/ApplicationMenu.tsx:32:39)
    at I18nextProvider (/home/runner/work/ESID/ESID/frontend/node_modules/react-i18next/dist/es/I18nextProvider.js:7:5)

Consider adding an error boundary to your tree to customize error handling behavior.
Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.