Skip to content

Commit

Permalink
Rename vitest config
Browse files Browse the repository at this point in the history
  • Loading branch information
Shinigami92 committed Sep 23, 2023
1 parent f1a44f7 commit 8ba5e36
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions vite.config.ts → vitest.config.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
/// <reference types="vitest" />
import { resolve } from 'node:path';
import { URL, fileURLToPath } from 'node:url';
import { defineConfig } from 'vite';
import { defineConfig } from 'vitest/config';

const __dirname: string = fileURLToPath(new URL('.', import.meta.url));

export default defineConfig({
resolve: {
alias: {
// Needed for vitest
src: resolve(__dirname, './src'),
tests: resolve(__dirname, './tests'),
},
Expand Down

0 comments on commit 8ba5e36

Please sign in to comment.