Skip to content

feat: Improved AuthProvider #155

feat: Improved AuthProvider

feat: Improved AuthProvider #155

Triggered via pull request December 30, 2024 18:55
Status Failure
Total duration 41s
Artifacts

node.js.yml

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

Annotations

9 errors and 1 warning
tests/github.test.tsx: source/components/AuthProvider.tsx#L3
Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock ❯ source/components/AuthProvider.tsx:3:31 Caused by: Caused by: Error: libsecret-1.so.0: cannot open shared object file: No such file or directory ❯ Object.<anonymous> node_modules/keytar/lib/keytar.js:1:14 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'ERR_DLOPEN_FAILED' }
tests/components/AuthProvider.test.tsx: source/components/AuthProvider.tsx#L3
Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock ❯ source/components/AuthProvider.tsx:3:31 Caused by: Error: libsecret-1.so.0: cannot open shared object file: No such file or directory ❯ Object.<anonymous> node_modules/keytar/lib/keytar.js:1:14 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'ERR_DLOPEN_FAILED' }
build (20.x)
Process completed with exit code 1.
build (22.x)
The job was canceled because "_20_x" failed.
build (22.x)
The operation was canceled.
build (18.x)
The job was canceled because "_20_x" failed.
tests/github.test.tsx: source/components/AuthProvider.tsx#L3
Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock ❯ source/components/AuthProvider.tsx:3:31 Caused by: Caused by: Error: libsecret-1.so.0: cannot open shared object file: No such file or directory ❯ Object.<anonymous> node_modules/keytar/lib/keytar.js:1:14 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'ERR_DLOPEN_FAILED' }
tests/components/AuthProvider.test.tsx: source/components/AuthProvider.tsx#L3
Error: [vitest] There was an error when mocking a module. If you are using "vi.mock" factory, make sure there are no top level variables inside, since this call is hoisted to top of the file. Read more: https://vitest.dev/api/vi.html#vi-mock ❯ source/components/AuthProvider.tsx:3:31 Caused by: Error: libsecret-1.so.0: cannot open shared object file: No such file or directory ❯ Object.<anonymous> node_modules/keytar/lib/keytar.js:1:14 ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Serialized Error: { code: 'ERR_DLOPEN_FAILED' }
build (18.x)
The operation was canceled.
build (20.x)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636