Skip to content

Commit

Permalink
Change jest.mock → vi.mock in rule message (#590)
Browse files Browse the repository at this point in the history
  • Loading branch information
FloEdelmann authored Dec 11, 2024
1 parent 84f9b68 commit bc03dcb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rules/no-mocks-import.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export default createEslintRule<Options, MESSAGE_IDS>({
recommended: false
},
messages: {
noMocksImport: `Mocks should not be manually imported from a ${mocksDirName} directory. Instead use \`jest.mock\` and import from the original module path.`
noMocksImport: `Mocks should not be manually imported from a ${mocksDirName} directory. Instead use \`vi.mock\` and import from the original module path.`
},
schema: []
},
Expand Down

0 comments on commit bc03dcb

Please sign in to comment.