]> git.ipfire.org Git - thirdparty/vuejs/pinia.git/commitdiff
style: format
authorEduardo San Martin Morote <posva13@gmail.com>
Mon, 28 Feb 2022 16:50:41 +0000 (17:50 +0100)
committerEduardo San Martin Morote <posva13@gmail.com>
Mon, 28 Feb 2022 16:50:41 +0000 (17:50 +0100)
packages/testing/src/testing.ts

index 994073589e81ad87d2c050a54a858e7fbfc52730..3cf136b12feed24121ba249a48465b9fcbf1bacb 100644 (file)
@@ -89,7 +89,10 @@ export function createTestingPinia({
 
   plugins.forEach((plugin) => pinia.use(plugin))
 
-  const createSpy = _createSpy || (typeof jest !== 'undefined' && jest.fn) || (typeof vitest !== 'undefined' && vitest.fn)
+  const createSpy =
+    _createSpy ||
+    (typeof jest !== 'undefined' && jest.fn) ||
+    (typeof vitest !== 'undefined' && vitest.fn)
   /* istanbul ignore if */
   if (!createSpy) {
     throw new Error('You must configure the `createSpy` option.')