fix(jsdom): cumulative Jest updates with support for TextEncoder/TextDecoder (#8111)
This commit is contained in:
4
test/unit/jest-shim.js
Normal file
4
test/unit/jest-shim.js
Normal file
@@ -0,0 +1,4 @@
|
||||
import { TextDecoder, TextEncoder } from "util"
|
||||
|
||||
global.TextDecoder = TextDecoder
|
||||
global.TextEncoder = TextEncoder
|
||||
Reference in New Issue
Block a user