From 6c8df3e23f03e6ec1752a915f37fb0d4632d54fe Mon Sep 17 00:00:00 2001 From: Eduardo San Martin Morote Date: Mon, 8 May 2023 18:40:10 +0200 Subject: [PATCH] test: names --- packages/testing/src/testing.spec.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/testing/src/testing.spec.ts b/packages/testing/src/testing.spec.ts index 4455dda4..6eecfc20 100644 --- a/packages/testing/src/testing.spec.ts +++ b/packages/testing/src/testing.spec.ts @@ -259,7 +259,7 @@ describe('Testing', () => { }) }) - it('allows overriding computed properties', () => { + it('allows overriding getters', () => { const useStore = defineStore('lol', { state: () => ({ n: 0 }), getters: { @@ -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) @@ -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 }) => { -- 2.47.3