fix: media popup (#225)

This commit is contained in:
Daniel Lautzenheiser
2022-12-13 10:31:35 -05:00
committed by GitHub
parent c1ae2a1bcc
commit 6602f37495
36 changed files with 963 additions and 85 deletions

View File

@ -1,6 +1,3 @@
global.TextEncoder = TextEncoder;
global.TextDecoder = TextDecoder;
if (typeof window === 'undefined') {
global.window = {
URL: {
@ -15,3 +12,5 @@ if (typeof window === 'undefined') {
},
};
}
global.URL.createObjectURL = jest.fn();