"fix" failing test

This commit is contained in:
Ulf Gebhardt 2023-01-28 03:46:59 +01:00
parent 85f7db7774
commit ecc7b2ad91
Signed by: ulfgebhardt
GPG Key ID: DA6B843E748679C9

View File

@ -2,4 +2,7 @@
// https://stackoverflow.com/questions/68468203/why-am-i-getting-textencoder-is-not-defined-in-jest
import { TextEncoder, TextDecoder } from 'util'
global.TextEncoder = TextEncoder
global.TextDecoder = TextDecoder
global.TextDecoder = TextDecoder
// Metascraper takes longer nowadays, double time
jest.setTimeout(10000)