Skip to content

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

chore(deps): update dependency vitest to v3

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

Triggered via pull request January 21, 2025 18:06
Status Failure
Total duration 1m 48s
Artifacts

ci.yml

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

Annotations

15 errors and 1 warning
tests/index.test.ts > einf Test > ipcOn: tests/index.test.ts#L27
AssertionError: expected '\n \u001b[32m\u001b[1mVITE\u001b[22m…' to contain 'Call ipc on' - Expected + Received - Call ipc on + + VITE v6.0.7 ready in 670 ms + + ➜ Local: http://localhost:5173/ + ➜ Network: use --host to expose + DSB 💻 Mode: Development + DSB 💠 Application type: electron + DSB ✅ Prebuild succeeded! (78.53ms) + DSB 🚦 Wait for renderer: http://localhost:5173/ + DSB ⚡ Run main file: dist/index.js + DSB Main process exitThe CJS build of Vite's Node API is deprecated. See https://vite.dev/guide/troubleshooting.html#vite-cjs-node-api-deprecated for more details. + [2845:0121/180806.157226:FATAL:setuid_sandbox_host.cc(163)] The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now. You need to make sure that /home/runner/work/einf/einf/node_modules/.pnpm/[email protected]/node_modules/electron/dist/chrome-sandbox is owned by root and has mode 4755. ❯ tests/index.test.ts:27:18
tests/index.test.ts > einf Test > ipcSend: tests/index.test.ts#L31
AssertionError: expected '\n \u001b[32m\u001b[1mVITE\u001b[22m…' to contain 'hello, this is the main process' - Expected + Received - hello, this is the main process + + VITE v6.0.7 ready in 670 ms + + ➜ Local: http://localhost:5173/ + ➜ Network: use --host to expose + DSB 💻 Mode: Development + DSB 💠 Application type: electron + DSB ✅ Prebuild succeeded! (78.53ms) + DSB 🚦 Wait for renderer: http://localhost:5173/ + DSB ⚡ Run main file: dist/index.js + DSB Main process exitThe CJS build of Vite's Node API is deprecated. See https://vite.dev/guide/troubleshooting.html#vite-cjs-node-api-deprecated for more details. + [2845:0121/180806.157226:FATAL:setuid_sandbox_host.cc(163)] The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now. You need to make sure that /home/runner/work/einf/einf/node_modules/.pnpm/[email protected]/node_modules/electron/dist/chrome-sandbox is owned by root and has mode 4755. ❯ tests/index.test.ts:31:18
tests/index.test.ts > einf Test > ipcHandle: tests/index.test.ts#L35
AssertionError: expected '\n \u001b[32m\u001b[1mVITE\u001b[22m…' to contain 'hello, this is the renderer' - Expected + Received - hello, this is the renderer + + VITE v6.0.7 ready in 670 ms + + ➜ Local: http://localhost:5173/ + ➜ Network: use --host to expose + DSB 💻 Mode: Development + DSB 💠 Application type: electron + DSB ✅ Prebuild succeeded! (78.53ms) + DSB 🚦 Wait for renderer: http://localhost:5173/ + DSB ⚡ Run main file: dist/index.js + DSB Main process exitThe CJS build of Vite's Node API is deprecated. See https://vite.dev/guide/troubleshooting.html#vite-cjs-node-api-deprecated for more details. + [2845:0121/180806.157226:FATAL:setuid_sandbox_host.cc(163)] The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now. You need to make sure that /home/runner/work/einf/einf/node_modules/.pnpm/[email protected]/node_modules/electron/dist/chrome-sandbox is owned by root and has mode 4755. ❯ tests/index.test.ts:35:18
tests/index.test.ts > einf Test > service injection: tests/index.test.ts#L40
AssertionError: expected '\n \u001b[32m\u001b[1mVITE\u001b[22m…' to contain 'is created by app service' - Expected + Received - is created by app service + + VITE v6.0.7 ready in 670 ms + + ➜ Local: http://localhost:5173/ + ➜ Network: use --host to expose + DSB 💻 Mode: Development + DSB 💠 Application type: electron + DSB ✅ Prebuild succeeded! (78.53ms) + DSB 🚦 Wait for renderer: http://localhost:5173/ + DSB ⚡ Run main file: dist/index.js + DSB Main process exitThe CJS build of Vite's Node API is deprecated. See https://vite.dev/guide/troubleshooting.html#vite-cjs-node-api-deprecated for more details. + [2845:0121/180806.157226:FATAL:setuid_sandbox_host.cc(163)] The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now. You need to make sure that /home/runner/work/einf/einf/node_modules/.pnpm/[email protected]/node_modules/electron/dist/chrome-sandbox is owned by root and has mode 4755. ❯ tests/index.test.ts:40:18
tests/index.test.ts > einf Test > another service inject to app service: tests/index.test.ts#L44
AssertionError: expected '\n \u001b[32m\u001b[1mVITE\u001b[22m…' to contain 'is created by another service' - Expected + Received - is created by another service + + VITE v6.0.7 ready in 670 ms + + ➜ Local: http://localhost:5173/ + ➜ Network: use --host to expose + DSB 💻 Mode: Development + DSB 💠 Application type: electron + DSB ✅ Prebuild succeeded! (78.53ms) + DSB 🚦 Wait for renderer: http://localhost:5173/ + DSB ⚡ Run main file: dist/index.js + DSB Main process exitThe CJS build of Vite's Node API is deprecated. See https://vite.dev/guide/troubleshooting.html#vite-cjs-node-api-deprecated for more details. + [2845:0121/180806.157226:FATAL:setuid_sandbox_host.cc(163)] The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now. You need to make sure that /home/runner/work/einf/einf/node_modules/.pnpm/[email protected]/node_modules/electron/dist/chrome-sandbox is owned by root and has mode 4755. ❯ tests/index.test.ts:44:18
tests/index.test.ts > einf Test > custom item injection: tests/index.test.ts#L48
AssertionError: expected '\n \u001b[32m\u001b[1mVITE\u001b[22m…' to contain 'current is run in development mode' - Expected + Received - current is run in development mode + + VITE v6.0.7 ready in 670 ms + + ➜ Local: http://localhost:5173/ + ➜ Network: use --host to expose + DSB 💻 Mode: Development + DSB 💠 Application type: electron + DSB ✅ Prebuild succeeded! (78.53ms) + DSB 🚦 Wait for renderer: http://localhost:5173/ + DSB ⚡ Run main file: dist/index.js + DSB Main process exitThe CJS build of Vite's Node API is deprecated. See https://vite.dev/guide/troubleshooting.html#vite-cjs-node-api-deprecated for more details. + [2845:0121/180806.157226:FATAL:setuid_sandbox_host.cc(163)] The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now. You need to make sure that /home/runner/work/einf/einf/node_modules/.pnpm/[email protected]/node_modules/electron/dist/chrome-sandbox is owned by root and has mode 4755. ❯ tests/index.test.ts:48:18
tests/index.test.ts > einf Test > window: tests/index.test.ts#L52
AssertionError: expected '\n \u001b[32m\u001b[1mVITE\u001b[22m…' to contain 'Get window title: Einf Test' - Expected + Received - Get window title: Einf Test + + VITE v6.0.7 ready in 670 ms + + ➜ Local: http://localhost:5173/ + ➜ Network: use --host to expose + DSB 💻 Mode: Development + DSB 💠 Application type: electron + DSB ✅ Prebuild succeeded! (78.53ms) + DSB 🚦 Wait for renderer: http://localhost:5173/ + DSB ⚡ Run main file: dist/index.js + DSB Main process exitThe CJS build of Vite's Node API is deprecated. See https://vite.dev/guide/troubleshooting.html#vite-cjs-node-api-deprecated for more details. + [2845:0121/180806.157226:FATAL:setuid_sandbox_host.cc(163)] The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now. You need to make sure that /home/runner/work/einf/einf/node_modules/.pnpm/[email protected]/node_modules/electron/dist/chrome-sandbox is owned by root and has mode 4755. ❯ tests/index.test.ts:52:18
tests/index.test.ts > einf Test > error: tests/index.test.ts#L56
AssertionError: expected '\n \u001b[32m\u001b[1mVITE\u001b[22m…' to contain 'This is an error from ipc channel' - Expected + Received - This is an error from ipc channel + + VITE v6.0.7 ready in 670 ms + + ➜ Local: http://localhost:5173/ + ➜ Network: use --host to expose + DSB 💻 Mode: Development + DSB 💠 Application type: electron + DSB ✅ Prebuild succeeded! (78.53ms) + DSB 🚦 Wait for renderer: http://localhost:5173/ + DSB ⚡ Run main file: dist/index.js + DSB Main process exitThe CJS build of Vite's Node API is deprecated. See https://vite.dev/guide/troubleshooting.html#vite-cjs-node-api-deprecated for more details. + [2845:0121/180806.157226:FATAL:setuid_sandbox_host.cc(163)] The SUID sandbox helper binary was found, but is not configured correctly. Rather than run without sandboxing I'm aborting now. You need to make sure that /home/runner/work/einf/einf/node_modules/.pnpm/[email protected]/node_modules/electron/dist/chrome-sandbox is owned by root and has mode 4755. ❯ tests/index.test.ts:56:18
test (ubuntu-latest, 18.x)
The process '/usr/bin/xvfb-run' failed with exit code 1
test (ubuntu-latest, 20.x)
The job was canceled because "ubuntu-latest_18_x" failed.
test (ubuntu-latest, 20.x)
The operation was canceled.
test (windows-latest, 20.x)
The job was canceled because "ubuntu-latest_18_x" failed.
test (windows-latest, 20.x)
The operation was canceled.
test (windows-latest, 18.x)
The job was canceled because "ubuntu-latest_18_x" failed.
test (windows-latest, 18.x)
The operation was canceled.
test (ubuntu-latest, 18.x)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636