]> git.ipfire.org Git - thirdparty/vuejs/pinia.git/commitdiff
chore: coverage
authorEduardo San Martin Morote <posva13@gmail.com>
Thu, 29 Apr 2021 14:22:47 +0000 (16:22 +0200)
committerEduardo San Martin Morote <posva13@gmail.com>
Thu, 29 Apr 2021 14:22:47 +0000 (16:22 +0200)
src/store.ts

index 0258408756416e16efd5e96bbe8b2941bd72ad6f..196f03c4915d14fc2898981d8e63115b68b3c1cc 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()
 
   // avoid warnings with injections not found
   if (pinia._a) {