shlink-web-client/config/jest/setupBeforeEnzyme.js

5 lines
109 B
JavaScript
Raw Normal View History

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