Work around jsdom not providing TextEncoder

This commit is contained in:
Robin Townsend
2023-09-01 13:23:24 -04:00
parent 8e090af370
commit 0bf96472eb
2 changed files with 19 additions and 1 deletions

View File

@@ -122,7 +122,7 @@
"vite-plugin-svgr": "^3.2.0"
},
"jest": {
"testEnvironment": "jsdom",
"testEnvironment": "./test/environment.ts",
"testMatch": [
"<rootDir>/test/**/*-test.[jt]s?(x)"
],