1.0.3 • Published 8 months ago

@quisido/vitest-config v1.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

quisi.do vitest configuration

CI/CD version downloads

The @quisido/vitest-config provides preconfigured vitest configuration for best practices, such as resetting mocks and coverage thresholds.

The simplest implementation is to just export the entire module as your vitest configuration.

// vitest.config.ts
export { default } from '@quisido/vitest-config';

To extend the configuration, you may spread the default export.

// vitest.config.js
import { defineConfig } from 'vitest/config';
import USER_CONFIG from '@quisido/vitest-config';

export default defineConfig({
  ...USER_CONFIG,
  // Add your custom configuration here.
]);