]> git.ipfire.org Git - thirdparty/vuejs/pinia.git/commitdiff
test: coverage
authorEduardo San Martin Morote <posva13@gmail.com>
Mon, 3 May 2021 09:43:13 +0000 (11:43 +0200)
committerEduardo San Martin Morote <posva13@gmail.com>
Mon, 3 May 2021 09:43:13 +0000 (11:43 +0200)
src/store.ts

index 3c87789688829a74f623ddb714b11407075ab164..d72f91ce7e310409f56a61ce6ce2b318585a2fde 100644 (file)
@@ -180,7 +180,10 @@ function initStore<Id extends string, S extends StateTree>(
     $reset,
   } as StoreWithState<Id, S>
 
-  const injectionSymbol = __DEV__ ? Symbol(`PiniaStore(${$id})`) : Symbol()
+  const injectionSymbol = __DEV__
+    ? Symbol(`PiniaStore(${$id})`)
+    : /* istanbul ignore next */
+      Symbol()
 
   return [
     storeWithState,