From 89599308e752e5bcad01e89abdac73bb422fda86 Mon Sep 17 00:00:00 2001 From: Igor Sazonov Date: Wed, 1 Nov 2023 12:57:56 +0100 Subject: [PATCH] fixed unit test issues --- jest-setup.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/jest-setup.ts b/jest-setup.ts index d0de870d..5166197b 100644 --- a/jest-setup.ts +++ b/jest-setup.ts @@ -1 +1,3 @@ import "@testing-library/jest-dom"; +import { TextEncoder, TextDecoder } from "util"; +Object.assign(global, { TextDecoder, TextEncoder });