Skip to content

Commit

Permalink
refactor: use shorthanded object property (#1622)
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaKGoldberg committed Jul 6, 2024
1 parent e496de5 commit 209e8f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rules/prefer-jest-mocked.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export default createRule({
);

context.report({
node: node,
node,
messageId: 'useJestMocked',
fix(fixer) {
return fixer.replaceText(node, `jest.mocked(${fnName})`);
Expand Down

0 comments on commit 209e8f3

Please sign in to comment.