snort/packages/app/src/setupTests.js
2023-04-20 15:01:29 -05:00

5 lines
174 B
JavaScript

// @ts-expect-error - we have a folder called util so TS gets confused
import { TextEncoder, TextDecoder } from "util";
Object.assign(global, { TextDecoder, TextEncoder });