Skip to content

Commit

Permalink
fix: add missing Text{De,En}coder globals
Browse files Browse the repository at this point in the history
  • Loading branch information
jakobhellermann committed May 30, 2022
1 parent 7fb8df5 commit e2f7b1a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions bundle/sipgate-io.test.js
Original file line number Diff line number Diff line change
@@ -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;
Expand Down

0 comments on commit e2f7b1a

Please sign in to comment.