diff --git a/packages/jest/src/index.ts b/packages/jest/src/index.ts index 77f0b75a..96a0912a 100644 --- a/packages/jest/src/index.ts +++ b/packages/jest/src/index.ts @@ -32,7 +32,7 @@ export function manageFetchMockGlobally(jest: Jest) { const { clearAllMocks, resetAllMocks, restoreAllMocks } = jest; jest.clearAllMocks = () => { - console.log('yeah') + console.log('yeah'); clearAllMocks.apply(jest); fetchMockJest.mockClear(); return jest; @@ -49,7 +49,6 @@ export function manageFetchMockGlobally(jest: Jest) { fetchMockJest.mockRestore(); return jest; }; - } const fetchMockJest = new FetchMockJest({ diff --git a/packages/jest/src/jest-extensions.ts b/packages/jest/src/jest-extensions.ts index 0cc9cb45..aa6298d1 100644 --- a/packages/jest/src/jest-extensions.ts +++ b/packages/jest/src/jest-extensions.ts @@ -138,7 +138,7 @@ function scopeExpectationNameToMethod(name: string, humanVerb: string): string { const extensions = Object.fromEntries( Object.entries(methodlessExtensions).map(([name, func]) => [ scopeExpectationNameToMethod(name, humanVerb), - //@ts-expect-error + //@ts-expect-error Still need to work on getting the generics here correct scopeExpectationFunctionToMethod(func, method), ]), );