@fethcat/tests
v0.0.15
Published
## Usage
Downloads
11
Readme
Fethcat tests
Usage
Install package:
pnpm add @fethcat/tests
Install peerDependencies:
pnpm add vitest @vitest/coverage-v8
Define test config:
import { defineTestConfig } from '@fethcat/tests'
import { defineConfig } from 'vitest/config'
export default defineConfig({
test: defineTestConfig(),
})
Define custom test config:
import { defineTestConfig } from '@fethcat/tests'
import { defineConfig } from 'vitest/config'
export default defineConfig({
test: defineTestConfig({
setupFiles: [],
}),
})
Available configurations: https://vitest.dev/config/