diff --git a/bundle/sipgate-io.test.js b/bundle/sipgate-io.test.js index 1a10914..9f3fb41 100644 --- a/bundle/sipgate-io.test.js +++ b/bundle/sipgate-io.test.js @@ -1,5 +1,9 @@ /* eslint-disable @typescript-eslint/no-var-requires */ const fs = require('fs'); +const { TextDecoder, TextEncoder } = require('util'); + +global.TextEncoder = TextEncoder; +global.TextDecoder = TextDecoder; describe('sipgate-io module', () => { let dom;