Skip to content

test: migrate from jest to vitest #401

test: migrate from jest to vitest

test: migrate from jest to vitest #401

Triggered via pull request February 20, 2025 17:55
Status Failure
Total duration 1m 53s
Artifacts

ci.yml

on: pull_request
Prepare CI
0s
Prepare CI
Lint App  /  biomejs
25s
Lint App / biomejs
Tests  /  SonarQube Cloud Analysis
0s
Tests / SonarQube Cloud Analysis
Build  /  Build Linux (electron-builder)
Build / Build Linux (electron-builder)
Build  /  Build Windows (electron-builder)
Build / Build Windows (electron-builder)
Build  /  Build macOS (electron-builder)
Build / Build macOS (electron-builder)
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
Tests / Run Tests: src/renderer/context/App.test.tsx#L56
Cannot find namespace 'vi'.
Tests / Run Tests: src/renderer/context/App.test.tsx#L197
Cannot find namespace 'vi'.
Tests / Run Tests: src/renderer/context/App.test.tsx#L249
Cannot find namespace 'vi'.
Tests / Run Tests: src/renderer/hooks/useNotifications.test.ts#L20
Expected 1 arguments, but got 0.
Tests / Run Tests: src/renderer/utils/api/client.test.ts#L259
Argument of type 'AxiosPromise' is not assignable to parameter of type 'AxiosResponse<any, any>'.
Tests / Run Tests: src/renderer/utils/api/client.test.ts#L271
Expected 1 arguments, but got 0.
Tests / Run Tests: src/renderer/utils/auth/utils.test.ts#L38
Argument of type '(event: string, callback: (event: IpcRendererEvent, ...args: any[]) => void) => void' is not assignable to parameter of type 'NormalizedProcedure<(channel: string, listener: (event: IpcRendererEvent, ...args: any[]) => void) => IpcRenderer>'.
Tests / Run Tests: src/renderer/utils/auth/utils.test.ts#L95
Argument of type '(event: string, callback: (event: IpcRendererEvent, ...args: any[]) => void) => void' is not assignable to parameter of type 'NormalizedProcedure<(channel: string, listener: (event: IpcRendererEvent, ...args: any[]) => void) => IpcRenderer>'.
Tests / Run Tests: src/renderer/utils/auth/utils.test.ts#L132
Argument of type 'AxiosPromise' is not assignable to parameter of type 'AxiosResponse<any, any>'.
Tests / Run Tests: src/renderer/utils/auth/utils.test.ts#L156
Argument of type 'AxiosPromise' is not assignable to parameter of type 'AxiosResponse<any, any>'.
Lint App / biomejs
Cache not found for keys: node-cache-Linux-x64-pnpm-69ececb3aff8a1e9970e668d2946924c8b17c6db8127fca4c3006961c67f5a61
Tests / Run Tests
Cache not found for keys: node-cache-macOS-arm64-pnpm-69ececb3aff8a1e9970e668d2946924c8b17c6db8127fca4c3006961c67f5a61