Skip to content

Commit be3ee28

Browse files
committed
chore: prettier docs/api
1 parent cb12659 commit be3ee28

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

Diff for: docs/api/options.md

+6-4
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ const yourComponent = {
6868
required: true
6969
}
7070
},
71-
render (h) {
71+
render(h) {
7272
return h('p', this.foo)
7373
}
7474
}
@@ -83,11 +83,13 @@ const wrapper = shallowMount(Component, {
8383
qux: '<my-component />',
8484
quux: '<your-component foo="lorem"/><your-component :foo="yourProperty"/>'
8585
},
86-
stubs: { // used to register custom components
86+
stubs: {
87+
// used to register custom components
8788
'my-component': MyComponent,
8889
'your-component': yourComponent
8990
},
90-
mocks: { // used to add properties to the rendering context
91+
mocks: {
92+
// used to add properties to the rendering context
9193
yourProperty: 'ipsum'
9294
}
9395
})
@@ -338,4 +340,4 @@ const options = {
338340
}
339341
const wrapper = mount(Component, options)
340342
expect(wrapper.text()).toBe('aBC')
341-
```
343+
```

0 commit comments

Comments
 (0)