]> git.ipfire.org Git - thirdparty/vuejs/pinia.git/commitdiff
style: unused var
authorEduardo San Martin Morote <posva13@gmail.com>
Mon, 2 May 2022 20:18:58 +0000 (22:18 +0200)
committerEduardo San Martin Morote <posva13@gmail.com>
Mon, 2 May 2022 20:18:58 +0000 (22:18 +0200)
packages/pinia/__tests__/subscriptions.spec.ts

index cfc928d14b3377ea7f73d5ab039b4a784e62775b..7c99ae066458136634529b7353c906b2af84452a 100644 (file)
@@ -2,8 +2,6 @@ import { createPinia, defineStore, MutationType, setActivePinia } from '../src'
 import { mount } from '@vue/test-utils'
 import { nextTick } from 'vue'
 
-const delay = (t: number) => new Promise((r) => setTimeout(r, t))
-
 describe('Subscriptions', () => {
   const useStore = defineStore({
     id: 'main',