test fixes to support Jest 29
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
@@ -15,3 +15,7 @@
|
||||
*/
|
||||
|
||||
import '@testing-library/jest-dom';
|
||||
|
||||
Object.defineProperty(global, 'TextDecoder', {
|
||||
value: require('util').TextDecoder,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user