Skip to content

Commit

Permalink
fix: typo of mocks plugin name
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Aug 16, 2023
1 parent 6ecfc4e commit 3073b9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vitest/src/node/plugins/mocks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { hoistMocks } from '../hoistMocks'

export function MocksPlugin(): Plugin {
return {
name: 'vite:mocks',
name: 'vitest:mocks',
enforce: 'post',
transform(code, id) {
return hoistMocks(code, id, this.parse)
Expand Down

0 comments on commit 3073b9a

Please sign in to comment.