This commit is contained in:
r1oga
2022-12-09 09:56:12 +01:00
committed by tsukino
parent dd8bdc741b
commit 8e61a905ac
2 changed files with 5 additions and 4 deletions

View File

@@ -1,4 +1,4 @@
import crypto, { BinaryToTextEncoding } from 'crypto'
import crypto, { BinaryToTextEncoding } from 'crypto';
window.matchMedia =
window.matchMedia ||
@@ -12,8 +12,10 @@ window.matchMedia =
// @ts-ignore
global.EventSource = class EventSource {
private str: any
constructor(str: any) {this.str = str}
private str: any;
constructor(str: any) {
this.str = str;
}
onmessage = () => {};
onopen = () => {};

View File

@@ -19,7 +19,6 @@ global.TextEncoder = TextEncoder;
// @ts-ignore
global.TextDecoder = TextDecoder;
export const pushReduxActionStub = sinon.stub(swUtilsModules, 'pushReduxAction');
export const zkprStub = {