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 ce2c850 commit c1fd013Copy full SHA for c1fd013
packages/testing/src/testing.ts
@@ -70,7 +70,7 @@ export function createTestingPinia({
70
71
plugins.forEach((plugin) => pinia.use(plugin))
72
73
- const createSpy = _createSpy || (typeof jest !== undefined && jest.fn)
+ const createSpy = _createSpy || (typeof jest !== 'undefined' && jest.fn)
74
/* istanbul ignore if */
75
if (!createSpy) {
76
throw new Error('You must configure the `createSpy` option.')
0 commit comments