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

Commit 8cb069d

Browse files
committed
chore: cleaning up spec
1 parent c3e84ed commit 8cb069d

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

cypress/component/basic/options-spec.js

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,17 @@ const template = `
66
</div>
77
`
88

9-
const data = {
10-
message: 'Hello Vue!',
11-
}
12-
139
describe('Mount component', () => {
1410
// hmm, there are no more options to pass
1511

16-
const component = { template, data() { return data } }
12+
const component = {
13+
template,
14+
data() {
15+
return {
16+
message: 'Hello Vue!'
17+
}
18+
},
19+
}
1720
beforeEach(mountCallback(component))
1821

1922
it('shows hello', () => {

0 commit comments

Comments
 (0)