replace old tests

+ ignore tune test for now
+ add happy-dom
This commit is contained in:
Felix Roos 2022-08-06 12:22:11 +02:00
parent 03158bd689
commit 488ebf8f1a
27 changed files with 1840 additions and 1690 deletions

View file

@ -2,6 +2,8 @@ import { configDefaults, defineConfig } from 'vitest/config';
export default defineConfig({
test: {
exclude: [...configDefaults.exclude, 'packages/*/test/*', 'repl/src/test/*'],
exclude: [...configDefaults.exclude, 'repl/src/test/*'],
environment: 'happy-dom', // or 'jsdom', 'node' // https://vitest.dev/guide/features.html#chai-and-jest-expect-compatibility
// environment: 'happy-dom', // or 'jsdom', 'node' // https://vitest.dev/guide/features.html#chai-and-jest-expect-compatibility
},
});