Skip to content

Commit 31c62c1

Browse files
committed
docs: format
1 parent dc1d120 commit 31c62c1

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

packages/docs/cookbook/testing.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -127,11 +127,13 @@ 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-
initialState: {
132-
counter: { n: 20 }, // start the counter at 20 instead of 0
133-
}
134-
})],
130+
plugins: [
131+
createTestingPinia({
132+
initialState: {
133+
counter: { n: 20 }, // start the counter at 20 instead of 0
134+
},
135+
}),
136+
],
135137
},
136138
})
137139

0 commit comments

Comments
 (0)