Skip to content

Commit

Permalink
feat(vitest): add config file for Vitest ✨
Browse files Browse the repository at this point in the history
Signed-off-by: Vinayak Kulkarni <19776877+vinayakkulkarni@users.noreply.github.com>
  • Loading branch information
vinayakkulkarni committed Mar 14, 2023
1 parent a367985 commit e292903
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions vitest.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
/// <reference types="vitest" />

import { defineConfig } from 'vite';
import Vue from '@vitejs/plugin-vue';

export default defineConfig({
plugins: [Vue()],
test: {
setupFiles: ['./test/setup/index.ts'],
globals: true,
environment: 'happy-dom',
},
});

0 comments on commit e292903

Please sign in to comment.