From 31c62c1706395ff79fccef1454611557a7d2b0fe Mon Sep 17 00:00:00 2001 From: Eduardo San Martin Morote Date: Tue, 19 Apr 2022 11:37:05 +0200 Subject: [PATCH] docs: format --- packages/docs/cookbook/testing.md | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) 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 + }, + }), + ], }, }) -- 2.47.2