From 8e61a905acaf2132ea447ea23a4d228f0128d89d Mon Sep 17 00:00:00 2001 From: r1oga <38692952+r1oga@users.noreply.github.com> Date: Fri, 9 Dec 2022 09:56:12 +0100 Subject: [PATCH] format --- src/util/mocks.ts | 8 +++++--- src/util/testUtils.ts | 1 - 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/util/mocks.ts b/src/util/mocks.ts index d72b8c3..c2b859f 100644 --- a/src/util/mocks.ts +++ b/src/util/mocks.ts @@ -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 = () => {}; diff --git a/src/util/testUtils.ts b/src/util/testUtils.ts index dc3d6d0..46db9c1 100644 --- a/src/util/testUtils.ts +++ b/src/util/testUtils.ts @@ -19,7 +19,6 @@ global.TextEncoder = TextEncoder; // @ts-ignore global.TextDecoder = TextDecoder; - export const pushReduxActionStub = sinon.stub(swUtilsModules, 'pushReduxAction'); export const zkprStub = {