From: Eduardo San Martin Morote Date: Mon, 8 May 2023 16:40:10 +0000 (+0200) Subject: test: names X-Git-Tag: @pinia/nuxt@0.4.11~28 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6c8df3e23f03e6ec1752a915f37fb0d4632d54fe;p=thirdparty%2Fvuejs%2Fpinia.git test: names --- 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 }) => {