Skip to content

Commit

Permalink
test: names
Browse files Browse the repository at this point in the history
  • Loading branch information
posva committed May 8, 2023
1 parent 7be0d05 commit 6c8df3e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/testing/src/testing.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ describe('Testing', () => {
})
})

it('allows overriding computed properties', () => {
it('allows overriding getters', () => {
const useStore = defineStore('lol', {
state: () => ({ n: 0 }),
getters: {
Expand All @@ -284,7 +284,7 @@ describe('Testing', () => {
expect(store.double).toBe(6)
})

it('allows overriding computed properties in setup stores', () => {
it('allows overriding getters in setup stores', () => {
const useStore = defineStore('computed', () => {
const n = ref(0)
const double = computed(() => n.value * 2)
Expand Down Expand Up @@ -375,7 +375,7 @@ describe('Testing', () => {
expect(spy).toHaveBeenLastCalledWith(5)
})

it('can override computed added in plugins', () => {
it('can override getters added in plugins', () => {
const pinia = createTestingPinia({
plugins: [
({ store }) => {
Expand Down

0 comments on commit 6c8df3e

Please sign in to comment.