From a10a30c94fa979ff8ec8f52ef42eb2c72e2fc406 Mon Sep 17 00:00:00 2001 From: Edgars V Date: Tue, 14 Mar 2023 17:23:40 +0200 Subject: [PATCH] Add _jest-setup_.js --- tests/jest/_jest-setup_.js | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 tests/jest/_jest-setup_.js diff --git a/tests/jest/_jest-setup_.js b/tests/jest/_jest-setup_.js new file mode 100644 index 0000000000..d6ca6bfd3e --- /dev/null +++ b/tests/jest/_jest-setup_.js @@ -0,0 +1,4 @@ +import { TextEncoder, TextDecoder } from 'util' + +global.TextEncoder = TextEncoder +global.TextDecoder = TextDecoder