Skip to content

Commit

Permalink
Revert "blog-template: switch to happy-dom env for client test (#14)" (
Browse files Browse the repository at this point in the history
…#37)

* until capricorn86/happy-dom#422 is fixed

This reverts commit 5f98651.
  • Loading branch information
wight554 committed Mar 23, 2022
1 parent b22e5d0 commit d1bb450
Show file tree
Hide file tree
Showing 3 changed files with 348 additions and 236 deletions.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -56,8 +56,8 @@
"eslint": "^8.11.0",
"eslint-config-preact": "^1.3.0",
"eslint-config-prettier": "^8.5.0",
"happy-dom": "^2.50.0",
"husky": "^7.0.4",
"jsdom": "^19.0.0",
"lint-staged": "^12.3.7",
"prettier": "^2.6.0",
"rimraf": "^3.0.2",
Expand Down
2 changes: 1 addition & 1 deletion vite.config.ts
Expand Up @@ -32,7 +32,7 @@ export default defineConfig({
emptyOutDir: true,
},
test: {
environment: 'happy-dom',
environment: 'jsdom',
globals: true,
coverage: {
exclude: [...configDefaults.coverage.exclude, '**/schemas/**'],
Expand Down

0 comments on commit d1bb450

Please sign in to comment.