Skip to content

Commit dc1d120

Browse files
jairoblattposva
andauthored
chore: fixed missing curly braces (#1233) [skip ci]
Co-authored-by: Eduardo San Martin Morote <[email protected]>
1 parent d17eb20 commit dc1d120

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

packages/docs/cookbook/testing.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -127,12 +127,11 @@ Since the store is named _"counter"_, you need to add a matching object to `init
127127
// somewhere in your test
128128
const wrapper = mount(Counter, {
129129
global: {
130-
plugins: [createTestingPinia(
131-
132-
initialState: {
133-
counter: { n: 20 }, // start the counter at 20 instead of 0
134-
},
135-
)],
130+
plugins: [createTestingPinia({
131+
initialState: {
132+
counter: { n: 20 }, // start the counter at 20 instead of 0
133+
}
134+
})],
136135
},
137136
})
138137

0 commit comments

Comments
 (0)