Skip to content

Commit

Permalink
test: extra test
Browse files Browse the repository at this point in the history
  • Loading branch information
posva committed Sep 30, 2024
1 parent 94f5a63 commit 249d5c4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/pinia/__tests__/getters.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ describe('Getters', () => {
})

const store = useStore()
expect(store.$state).not.toHaveProperty('double')
store.double = 4
expect(store.n).toBe(2)
// @ts-expect-error: still not doable
Expand Down

0 comments on commit 249d5c4

Please sign in to comment.