diff --git a/unit-testing/vue/jsdom-environment.ts b/unit-testing/vue/jsdom-environment.ts index a6d2926..4362a26 100644 --- a/unit-testing/vue/jsdom-environment.ts +++ b/unit-testing/vue/jsdom-environment.ts @@ -19,6 +19,7 @@ class MyJSDOMEnvironment extends JSDOMEnvironment.default { // here, you have access to regular Node globals, which you can add to the test environment this.global.TextEncoder = TextEncoder; + this.global.TextDecoder = TextDecoder; // @ts-ignore this.global.crypto = crypto; diff --git a/yarn.lock b/yarn.lock index 10b8e37..8063301 100644 --- a/yarn.lock +++ b/yarn.lock @@ -705,6 +705,13 @@ __metadata: languageName: node linkType: hard +"@fastify/busboy@npm:^2.0.0": + version: 2.1.1 + resolution: "@fastify/busboy@npm:2.1.1" + checksum: 10/2bb8a7eca8289ed14c9eb15239bc1019797454624e769b39a0b90ed204d032403adc0f8ed0d2aef8a18c772205fa7808cf5a1b91f21c7bfc7b6032150b1062c5 + languageName: node + linkType: hard + "@humanwhocodes/module-importer@npm:^1.0.1": version: 1.0.1 resolution: "@humanwhocodes/module-importer@npm:1.0.1" @@ -4607,15 +4614,6 @@ __metadata: languageName: node linkType: hard -"busboy@npm:^1.6.0": - version: 1.6.0 - resolution: "busboy@npm:1.6.0" - dependencies: - streamsearch: "npm:^1.1.0" - checksum: 10/bee10fa10ea58e7e3e7489ffe4bda6eacd540a17de9f9cd21cc37e297b2dd9fe52b2715a5841afaec82900750d810d01d7edb4b2d456427f449b92b417579763 - languageName: node - linkType: hard - "cac@npm:^3.0.3": version: 3.0.4 resolution: "cac@npm:3.0.4" @@ -12433,13 +12431,6 @@ __metadata: languageName: node linkType: hard -"streamsearch@npm:^1.1.0": - version: 1.1.0 - resolution: "streamsearch@npm:1.1.0" - checksum: 10/612c2b2a7dbcc859f74597112f80a42cbe4d448d03da790d5b7b39673c1197dd3789e91cd67210353e58857395d32c1e955a9041c4e6d5bae723436b3ed9ed14 - languageName: node - linkType: hard - "streamx@npm:^2.15.0, streamx@npm:^2.18.0": version: 2.20.0 resolution: "streamx@npm:2.20.0" @@ -13112,11 +13103,11 @@ __metadata: linkType: hard "undici@npm:^5.21.2": - version: 5.22.1 - resolution: "undici@npm:5.22.1" + version: 5.28.4 + resolution: "undici@npm:5.28.4" dependencies: - busboy: "npm:^1.6.0" - checksum: 10/4e4ae061372508bad6c017e0188cdbf1bb73e427d881aefe6277f88cb0bdd45b57bb88d7ab6fc136ff08e7d022bd83ca550a28272aebfb36b28c06fe8f07ac5e + "@fastify/busboy": "npm:^2.0.0" + checksum: 10/a666a9f5ac4270c659fafc33d78b6b5039a0adbae3e28f934774c85dcc66ea91da907896f12b414bd6f578508b44d5dc206fa636afa0e49a4e1c9e99831ff065 languageName: node linkType: hard