improve repo structure

This commit is contained in:
Rene Haas
2022-10-21 12:39:53 +02:00
parent 2599fc2cd1
commit b277dded6a
38 changed files with 28688 additions and 46301 deletions
+9
View File
@@ -0,0 +1,9 @@
const { resolve } = require('path');
const { defineConfig } = require('vitest/config');
module.exports = defineConfig({
test: {
setupFiles: resolve(__dirname, 'vitest.setup.js'),
environment: 'jsdom',
},
});
+4
View File
@@ -0,0 +1,4 @@
import matchers from '@testing-library/jest-dom/matchers';
import { expect } from 'vitest';
expect.extend(matchers);