diff --git a/docs/guide/mocking.md b/docs/guide/mocking.md index 16a858657..c4eba1fb6 100644 --- a/docs/guide/mocking.md +++ b/docs/guide/mocking.md @@ -14,7 +14,7 @@ Sometimes you need to be in control of the date to ensure consistency when testi ### Example ```js -import { afterEach, describe, expect, it, vi } from 'vitest' +import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest' const businessHours = [9, 17]