]> git.ipfire.org Git - thirdparty/vuejs/pinia.git/commitdiff
test: remove unused code
authorEduardo San Martin Morote <posva13@gmail.com>
Wed, 12 May 2021 12:19:49 +0000 (14:19 +0200)
committerEduardo San Martin Morote <posva13@gmail.com>
Thu, 13 May 2021 11:21:25 +0000 (13:21 +0200)
__tests__/onAction.spec.ts

index b619098ecf4e9e513502b6492dc5bf242ff916da..315388eeda6381f18d0ee37ef485f7a2401391d1 100644 (file)
@@ -49,7 +49,6 @@ describe('Subscriptions', () => {
   it('fires callback when action is called', () => {
     const spy = jest.fn()
     store.$onAction(spy)
-    store.$onAction(({}) => {})
     store.direct('Cleiton')
     expect(spy).toHaveBeenCalledTimes(1)
     expect(spy).toHaveBeenCalledWith(