From 4858495baf04f7bd286b57dc64fa1bc42a1f5ef5 Mon Sep 17 00:00:00 2001 From: Thomas Kint Date: Tue, 25 Jan 2022 16:13:54 +0100 Subject: [PATCH] chore: fix comments --- packages/testing/src/testing.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/testing/src/testing.ts b/packages/testing/src/testing.ts index ed05940e..99407358 100644 --- a/packages/testing/src/testing.ts +++ b/packages/testing/src/testing.ts @@ -46,7 +46,7 @@ export interface TestingOptions { /** * Function used to create a spy for actions and `$patch()`. Pre-configured - * with `jest.fn()` in jest projects or `vitest.fn()` in vitest projects + * with `jest.fn()` in jest projects or `vitest.fn()` in vitest projects. */ createSpy?: (fn?: (...args: any[]) => any) => (...args: any[]) => any } @@ -64,8 +64,8 @@ export interface TestingPinia extends Pinia { * Creates a pinia instance designed for unit tests that **requires mocking** * the stores. By default, **all actions are mocked** and therefore not * executed. This allows you to unit test your store and components separately. - * You can change this with the `stubActions` option. If you are using jest or vitest, - * they are replaced with basic `fn()`, otherwise, you must provide your own + * You can change this with the `stubActions` option. If you are using jest, + * they are replaced with `jest.fn()`, otherwise, you must provide your own * `createSpy` option. * * @param options - options to configure the testing pinia -- 2.47.3