Skip to content

chore(deps): update dependency vitest to v3 #1646

chore(deps): update dependency vitest to v3

chore(deps): update dependency vitest to v3 #1646

Triggered via pull request January 16, 2025 17:51
Status Failure
Total duration 38s
Artifacts

node.js.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 1 warning
src/Pages/Commits.test.tsx: node_modules/@fortawesome/react-fontawesome/index.js#L2
Error: require() of ES Module /home/runner/work/fb-paginated-commits-react18/fb-paginated-commits-react18/node_modules/@fortawesome/fontawesome-svg-core/index.mjs not supported. Instead change the require of /home/runner/work/fb-paginated-commits-react18/fb-paginated-commits-react18/node_modules/@fortawesome/fontawesome-svg-core/index.mjs to a dynamic import() which is available in all CommonJS modules. ❯ node_modules/@fortawesome/react-fontawesome/index.js:2:83 ❯ Object.<anonymous> node_modules/@fortawesome/react-fontawesome/index.js:5:3 ❯ src/Loader/index.tsx:3:31 ❯ src/Pages/Commits.tsx:4:31 ❯ src/Pages/Commits.test.tsx:3:31 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'ERR_REQUIRE_ESM' }
src/Layout/Header/ModeToggle/ModeToggle.test.tsx: node_modules/@fortawesome/react-fontawesome/index.js#L2
Error: require() of ES Module /home/runner/work/fb-paginated-commits-react18/fb-paginated-commits-react18/node_modules/@fortawesome/fontawesome-svg-core/index.mjs not supported. Instead change the require of /home/runner/work/fb-paginated-commits-react18/fb-paginated-commits-react18/node_modules/@fortawesome/fontawesome-svg-core/index.mjs to a dynamic import() which is available in all CommonJS modules. ❯ node_modules/@fortawesome/react-fontawesome/index.js:2:83 ❯ Object.<anonymous> node_modules/@fortawesome/react-fontawesome/index.js:5:3 ❯ src/Layout/Header/ModeToggle/ModeToggle.tsx:2:31 ❯ src/Layout/Header/ModeToggle/ModeToggle.test.tsx:4:31 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'ERR_REQUIRE_ESM' }
test
Process completed with exit code 1.
test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636