Skip to content

Commit

Permalink
fix(test): happ-dom relative URL
Browse files Browse the repository at this point in the history
  • Loading branch information
SiongSng committed Jun 10, 2023
1 parent 5911642 commit cf83276
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 186 deletions.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -39,7 +39,7 @@
"eslint-plugin-prettier": "4.2.1",
"eslint-plugin-tailwindcss": "^3.7.1",
"eslint-plugin-vue": "9.9.0",
"happy-dom": "7.7.0",
"happy-dom": "9.20.3",
"msw": "1.0.0",
"postcss": "^8.4.19",
"postcss-html": "1.5.0",
Expand Down
1 change: 1 addition & 0 deletions test/setup.ts
@@ -0,0 +1 @@
location.href = 'http://localhost';
1 change: 1 addition & 0 deletions vite.config.ts
Expand Up @@ -44,5 +44,6 @@ export default defineConfig({
],
},
environment: 'happy-dom',
setupFiles: ['./test/setup.ts'],
},
});

0 comments on commit cf83276

Please sign in to comment.