framework/js-packages/jest-config/pollyfills.js
2024-09-28 15:47:45 +01:00

4 lines
103 B
JavaScript

import { TextEncoder, TextDecoder } from 'util';
Object.assign(global, { TextDecoder, TextEncoder });