We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4858495 commit 72b3321Copy full SHA for 72b3321
packages/testing/src/testing.ts
@@ -89,7 +89,10 @@ export function createTestingPinia({
89
90
plugins.forEach((plugin) => pinia.use(plugin))
91
92
- const createSpy = _createSpy || (typeof jest !== 'undefined' && jest.fn) || (typeof vitest !== 'undefined' && vitest.fn)
+ const createSpy =
93
+ _createSpy ||
94
+ (typeof jest !== 'undefined' && jest.fn) ||
95
+ (typeof vitest !== 'undefined' && vitest.fn)
96
/* istanbul ignore if */
97
if (!createSpy) {
98
throw new Error('You must configure the `createSpy` option.')
0 commit comments