Skip to content

Commit e7034b2

Browse files
committed
docs: fix linting errors
1 parent 7f537ef commit e7034b2

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

docs/en/api/wrapper-array/setComputed.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ import Bar from './Bar.vue'
1919
const wrapper = mount(Foo)
2020
const barArray = wrapper.findAll(Bar)
2121

22-
barArray.setComputed({
23-
computed1: 'new-computed1',
22+
barArray.setComputed({
23+
computed1: 'new-computed1',
2424
computed2: 'new-computed2'
2525
})
2626
```

docs/en/api/wrapper/setComputed.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,24 +17,24 @@ import { expect } from 'chai'
1717

1818
const wrapper = mount({
1919
template: '<div>{{ computed1 }} {{ computed2 }}</div>',
20-
data() {
20+
data () {
2121
return {
22-
initial: 'initial',
23-
};
22+
initial: 'initial'
23+
}
2424
},
2525
computed: {
26-
computed1() {
27-
return this.initial
28-
},
29-
computed2() {
30-
return this.initial
26+
computed1 () {
27+
return this.initial
3128
},
29+
computed2 () {
30+
return this.initial
31+
}
3232
}
3333
})
3434

3535
expect(wrapper.html()).toBe('<div>initial initial</div>')
3636

37-
wrapper.setComputed({
37+
wrapper.setComputed({
3838
computed1: 'new-computed1',
3939
computed2: 'new-computed2'
4040
})

0 commit comments

Comments
 (0)