Skip to content

Commit

Permalink
refactor(jest-mock): remove unused specificReturnValues property (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
mrazauskas committed Feb 10, 2023
1 parent 94b73a2 commit d97b760
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/jest-mock/src/index.ts
Expand Up @@ -255,7 +255,6 @@ type MockFunctionState<T extends FunctionLike = UnknownFunction> = {
type MockFunctionConfig = {
mockImpl: Function | undefined;
mockName: string;
specificReturnValues: Array<unknown>;
specificMockImpls: Array<Function>;
};

Expand Down Expand Up @@ -599,7 +598,6 @@ export class ModuleMocker {
mockImpl: undefined,
mockName: 'jest.fn()',
specificMockImpls: [],
specificReturnValues: [],
};
}

Expand Down

0 comments on commit d97b760

Please sign in to comment.