@fethcat/tests
TypeScript icon, indicating that this package has built-in type declarations

0.0.15 • Public • Published

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/

Readme

Keywords

none

Package Sidebar

Install

npm i @fethcat/tests

Weekly Downloads

5

Version

0.0.15

License

ISC

Unpacked Size

2.21 kB

Total Files

4

Last publish

Collaborators

  • fethcat