Skip to content

chore(deps): update vitest monorepo to v2 (major) #1420

chore(deps): update vitest monorepo to v2 (major)

chore(deps): update vitest monorepo to v2 (major) #1420

Triggered via pull request September 17, 2024 20:55
Status Failure
Total duration 1m 43s
Artifacts

ci.yml

on: pull_request
Matrix: Unit Test
Matrix: Code Lint
Matrix: Coverage Report
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 12 warnings
packages/vue/src/hooks/__tests__/use-count-event.spec.ts > dispatch > should be able catch error when dispatch an event: packages/vue/src/hooks/__tests__/use-count-event.spec.ts#L169
TypeError: .toMatch() expects to receive a string, but got object ❯ packages/vue/src/hooks/__tests__/use-count-event.spec.ts:169:36
packages/vue/src/hooks/__tests__/use-pagination.spec.ts > usePagination > should be able to change or reset value: packages/vue/src/hooks/__tests__/use-pagination.spec.ts#L26
AssertionError: expected [] to include { pageNum: 10, pageSize: 20, total: +0 } ❯ packages/vue/src/hooks/__tests__/use-pagination.spec.ts:26:30
packages/vue/src/hooks/__tests__/use-pagination.spec.ts > usePagination > should be able to enable searchParams: packages/vue/src/hooks/__tests__/use-pagination.spec.ts#L71
AssertionError: expected [] to include { pageNum: 10, pageSize: 20, total: +0 } ❯ packages/vue/src/hooks/__tests__/use-pagination.spec.ts:71:30
packages/vue/src/hooks/__tests__/use-pagination.spec.ts > usePagination > should be able to enable searchParams, by default value: packages/vue/src/hooks/__tests__/use-pagination.spec.ts#L89
AssertionError: expected [] to include { pageNum: 1, pageSize: 10, total: +0 } ❯ packages/vue/src/hooks/__tests__/use-pagination.spec.ts:89:30
Unit Test (20)
Process completed with exit code 1.
Unit Test (18)
The job was canceled because "_20" failed.
packages/vue/src/hooks/__tests__/use-count-event.spec.ts > dispatch > should be able catch error when dispatch an event: packages/vue/src/hooks/__tests__/use-count-event.spec.ts#L169
TypeError: .toMatch() expects to receive a string, but got object ❯ packages/vue/src/hooks/__tests__/use-count-event.spec.ts:169:36
packages/vue/src/hooks/__tests__/use-pagination.spec.ts > usePagination > should be able to change or reset value: packages/vue/src/hooks/__tests__/use-pagination.spec.ts#L26
AssertionError: expected [] to include { pageNum: 10, pageSize: 20, total: +0 } ❯ packages/vue/src/hooks/__tests__/use-pagination.spec.ts:26:30
packages/vue/src/hooks/__tests__/use-pagination.spec.ts > usePagination > should be able to enable searchParams: packages/vue/src/hooks/__tests__/use-pagination.spec.ts#L71
AssertionError: expected [] to include { pageNum: 10, pageSize: 20, total: +0 } ❯ packages/vue/src/hooks/__tests__/use-pagination.spec.ts:71:30
packages/vue/src/hooks/__tests__/use-pagination.spec.ts > usePagination > should be able to enable searchParams, by default value: packages/vue/src/hooks/__tests__/use-pagination.spec.ts#L89
AssertionError: expected [] to include { pageNum: 1, pageSize: 10, total: +0 } ❯ packages/vue/src/hooks/__tests__/use-pagination.spec.ts:89:30
Unit Test (18)
Process completed with exit code 1.
Code Lint (20)
The following actions use a deprecated Node.js version and will be forced to run on node20: pnpm/action-setup@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Code Lint (20): packages/vue/src/components/transition/Transition.vue#L2
'Transition' is defined but never used
Code Lint (20): packages/vue/src/hooks/__tests__/use-emitter.spec.ts#L9
'_' is defined but never used
Code Lint (20): packages/vue/src/hooks/__tests__/use-form-items.spec.ts#L3
'watchEffect' is defined but never used
Code Lint (20): packages/vue/src/hooks/__tests__/use-loading.spec.ts#L25
'_' is defined but never used
Code Lint (20): packages/vue/src/hooks/__tests__/use-loading.spec.ts#L26
'_' is defined but never used
Code Lint (20): packages/vue/src/hooks/__tests__/use-loading.spec.ts#L58
'_' is defined but never used
Code Lint (20): packages/vue/src/hooks/__tests__/use-loading.spec.ts#L86
'_' is defined but never used
Code Lint (20): packages/vue/src/hooks/__tests__/use-loading.spec.ts#L87
'_' is defined but never used
Unit Test (20)
The following actions use a deprecated Node.js version and will be forced to run on node20: pnpm/action-setup@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/