Skip to content

Commit

Permalink
fix: add missing defineConfig helper (#749)
Browse files Browse the repository at this point in the history
  • Loading branch information
pd4d10 committed Feb 14, 2022
1 parent f9b52c1 commit e72b881
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/vitest/src/index.ts
@@ -1,3 +1,4 @@
import type { UserConfig } from 'vite'
import type { Plugin as PrettyFormatPlugin } from 'pretty-format'
import type { Any, Anything } from './integrations/chai/jest-asymmetric-matchers'
import type { MatcherState, MatchersObject } from './integrations/chai/types'
Expand Down Expand Up @@ -26,6 +27,10 @@ declare module 'vite' {
}
}

export function defineConfig(config: UserConfig) {
return config
}

interface AsymmetricMatchersContaining {
stringContaining(expected: string): any
objectContaining(expected: any): any
Expand Down

0 comments on commit e72b881

Please sign in to comment.