chore: fix vitest plugin type

This commit is contained in:
Nicolas Meienberger 2024-03-05 18:20:47 +01:00 committed by Nicolas Meienberger
parent 4d5bb208cd
commit 9b07457cbb
3 changed files with 8 additions and 5 deletions

View File

@ -14,9 +14,10 @@ updates:
- minor
- patch
patch-prod:
minor-patch-prod:
dependency-type: production
update-types:
- minor
- patch
- package-ecosystem: 'github-actions'

View File

@ -1,8 +1,10 @@
import { defineConfig } from 'vitest/config';
import { UserWorkspaceConfig, defineConfig } from 'vitest/config';
import tsconfigPaths from 'vite-tsconfig-paths';
type Plugin = Exclude<UserWorkspaceConfig['plugins'], undefined>[number];
export default defineConfig({
plugins: [tsconfigPaths()],
plugins: [tsconfigPaths() as Plugin],
test: {
setupFiles: ['./tests/vite.setup.ts'],
coverage: { all: true, reporter: ['lcov', 'text-summary'] },

View File

@ -2,13 +2,13 @@
/* tslint:disable */
/**
* Mock Service Worker (2.0.11).
* Mock Service Worker (2.2.2).
* @see https://github.com/mswjs/msw
* - Please do NOT modify this file.
* - Please do NOT serve this file on production.
*/
const INTEGRITY_CHECKSUM = 'c5f7f8e188b673ea4e677df7ea3c5a39'
const INTEGRITY_CHECKSUM = '223d191a56023cd36aa88c802961b911'
const IS_MOCKED_RESPONSE = Symbol('isMockedResponse')
const activeClientIds = new Set()