Skip to content

Commit d5bdcb9

Browse files
ThomasKlesseneddyerburgh
authored andcommitted
docs: fix bug in props example (#254)
1 parent 43310db commit d5bdcb9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/en/api/wrapper/props.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ import { expect } from 'chai'
1414
import Foo from './Foo.vue'
1515

1616
const wrapper = mount(Foo, {
17-
propsData: 'baz'
17+
propsData: {
18+
bar: 'baz'
19+
}
1820
})
1921
expect(wrapper.props().bar).toBe('baz')
2022
```

0 commit comments

Comments
 (0)