Fix failing tests
This commit is contained in:
parent
8727fe94cd
commit
b31c306b0a
3 changed files with 1100 additions and 2 deletions
1095
package-lock.json
generated
1095
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -32,6 +32,7 @@
|
|||
"@typescript-eslint/parser": "^5.33.0",
|
||||
"c8": "^7.12.0",
|
||||
"eslint": "^8.22.0",
|
||||
"jsdom": "^20.0.0",
|
||||
"typescript": "^4.6.3",
|
||||
"vite": "^2.9.0",
|
||||
"vite-plugin-pwa": "^0.11.13",
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
import { defineConfig } from 'vite';
|
||||
import { VitePWA } from 'vite-plugin-pwa';
|
||||
|
||||
/** @type {import('vite').UserConfig} */
|
||||
export default defineConfig({
|
||||
base: "/",
|
||||
build: {
|
||||
|
@ -44,5 +43,8 @@ export default defineConfig({
|
|||
watch: {
|
||||
usePolling: true
|
||||
}
|
||||
},
|
||||
test: {
|
||||
environment: 'jsdom'
|
||||
}
|
||||
})
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue