From: Eduardo San Martin Morote Date: Tue, 19 Apr 2022 09:37:05 +0000 (+0200) Subject: docs: format X-Git-Tag: @pinia/nuxt@0.1.9~25 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=31c62c1706395ff79fccef1454611557a7d2b0fe;p=thirdparty%2Fvuejs%2Fpinia.git docs: format --- diff --git a/packages/docs/cookbook/testing.md b/packages/docs/cookbook/testing.md index d1713883..e37c3210 100644 --- a/packages/docs/cookbook/testing.md +++ b/packages/docs/cookbook/testing.md @@ -127,11 +127,13 @@ Since the store is named _"counter"_, you need to add a matching object to `init // somewhere in your test const wrapper = mount(Counter, { global: { - plugins: [createTestingPinia({ - initialState: { - counter: { n: 20 }, // start the counter at 20 instead of 0 - } - })], + plugins: [ + createTestingPinia({ + initialState: { + counter: { n: 20 }, // start the counter at 20 instead of 0 + }, + }), + ], }, })