shlink-web-client/config/jest/setupBeforeEnzyme.js
2022-05-02 13:22:38 +02:00

4 lines
109 B
JavaScript

import * as util from 'util';
global.TextEncoder = util.TextEncoder;
global.TextDecoder = util.TextDecoder;