10000 Fixing syntax error on code example (#1503) · vuejs-vn/vuejs.org@fc18488 · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Sep 16, 2020. It is now read-only.

Commit fc18488

Browse files
giubattchrisvfritz
authored andcommitted
Fixing syntax error on code example (vuejs#1503)
username: { 'Lachlan' } should be: username: 'Lachlan'
1 parent 89bd092 commit fc18488

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/v2/cookbook/unit-testing-vue-components.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,7 @@ test('Foo', () => {
5858

5959
// update the name to be long enough
6060
wrapper.setData({
61-
username: {
62-
'Lachlan'
63-
}
61+
username: 'Lachlan'
6462
})
6563

6664
// assert the error has gone away

0 commit comments

Comments
 (0)
0