Fix failing tests

This commit is contained in:
William Brawner 2022-08-15 03:40:52 +00:00
parent 8727fe94cd
commit b31c306b0a
3 changed files with 1100 additions and 2 deletions

1095
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -32,6 +32,7 @@
"@typescript-eslint/parser": "^5.33.0", "@typescript-eslint/parser": "^5.33.0",
"c8": "^7.12.0", "c8": "^7.12.0",
"eslint": "^8.22.0", "eslint": "^8.22.0",
"jsdom": "^20.0.0",
"typescript": "^4.6.3", "typescript": "^4.6.3",
"vite": "^2.9.0", "vite": "^2.9.0",
"vite-plugin-pwa": "^0.11.13", "vite-plugin-pwa": "^0.11.13",

View file

@ -1,7 +1,6 @@
import { defineConfig } from 'vite'; import { defineConfig } from 'vite';
import { VitePWA } from 'vite-plugin-pwa'; import { VitePWA } from 'vite-plugin-pwa';
/** @type {import('vite').UserConfig} */
export default defineConfig({ export default defineConfig({
base: "/", base: "/",
build: { build: {
@ -44,5 +43,8 @@ export default defineConfig({
watch: { watch: {
usePolling: true usePolling: true
} }
},
test: {
environment: 'jsdom'
} }
}) });