Skip to content

Commit

Permalink
chore: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
wheresrhys committed Aug 31, 2024
1 parent c70a4b9 commit a97d811
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions packages/jest/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -49,7 +49,6 @@ export function manageFetchMockGlobally(jest: Jest) {
fetchMockJest.mockRestore();
return jest;
};

}

const fetchMockJest = new FetchMockJest({
Expand Down
2 changes: 1 addition & 1 deletion packages/jest/src/jest-extensions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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),
]),
);
Expand Down

0 comments on commit a97d811

Please sign in to comment.