From: Jairo Blatt Date: Tue, 19 Apr 2022 09:35:56 +0000 (-0300) Subject: chore: fixed missing curly braces (#1233) [skip ci] X-Git-Tag: @pinia/nuxt@0.1.9~26 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dc1d12065ed407506dbdde913264326316b1b686;p=thirdparty%2Fvuejs%2Fpinia.git chore: fixed missing curly braces (#1233) [skip ci] Co-authored-by: Eduardo San Martin Morote --- diff --git a/packages/docs/cookbook/testing.md b/packages/docs/cookbook/testing.md index 9252b5e8..d1713883 100644 --- a/packages/docs/cookbook/testing.md +++ b/packages/docs/cookbook/testing.md @@ -127,12 +127,11 @@ 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 + } + })], }, })