diff --git a/packages/@magic-sdk/provider/test/spec/core/view-controller/post.spec.ts b/packages/@magic-sdk/provider/test/spec/core/view-controller/post.spec.ts index 51244a23..358b734a 100644 --- a/packages/@magic-sdk/provider/test/spec/core/view-controller/post.spec.ts +++ b/packages/@magic-sdk/provider/test/spec/core/view-controller/post.spec.ts @@ -78,7 +78,7 @@ beforeEach(() => { createJwtStub = jest.spyOn(webCryptoUtils, 'createJwt'); getDecryptedDeviceShareStub = jest.spyOn(deviceShareWebCryptoUtils, 'getDecryptedDeviceShare'); clearDeviceSharesStub = jest.spyOn(deviceShareWebCryptoUtils, 'clearDeviceShares'); - jest.spyOn(global.console, 'info').mockImplementation(() => { }); + jest.spyOn(global.console, 'info').mockImplementation(() => { /* noop */ }); jest.spyOn(global, 'addEventListener').mockImplementation(jest.fn()); jest.spyOn(storage, 'getItem').mockImplementation((key: string, callback?: (err: unknown, value: unknown) => void) => { const value = FAKE_STORE[key]; @@ -213,7 +213,7 @@ test('Sends payload without rt if no jwt can be made', async () => { }); test('Sends payload when web crypto jwt fails', async () => { - const consoleErrorStub = jest.spyOn(global.console, 'error').mockImplementationOnce(() => { }); + const consoleErrorStub = jest.spyOn(global.console, 'error').mockImplementationOnce(() => { /* noop */ }); createJwtStub.mockRejectedValueOnce('danger'); FAKE_STORE.rt = FAKE_RT; diff --git a/packages/@magic-sdk/provider/test/spec/util/promise-tools/createPromiEvent.spec.ts b/packages/@magic-sdk/provider/test/spec/util/promise-tools/createPromiEvent.spec.ts index 440a6db6..05309fac 100644 --- a/packages/@magic-sdk/provider/test/spec/util/promise-tools/createPromiEvent.spec.ts +++ b/packages/@magic-sdk/provider/test/spec/util/promise-tools/createPromiEvent.spec.ts @@ -1,4 +1,4 @@ -import { createPromiEvent, PromiEvent } from '../../../../src/util/promise-tools'; +import { createPromiEvent } from '../../../../src/util/promise-tools'; import { TypedEmitter } from '../../../../src/util/events'; type DefaultEvents = {