chore: run updated prettier

This commit is contained in:
Evan You
2021-07-19 18:24:18 -04:00
parent 69344ff1ae
commit 47f488350c
110 changed files with 695 additions and 698 deletions

View File

@@ -145,10 +145,10 @@ describe('GLOBAL_EXTEND', () => {
})
it('should not merge nested mixins created with Vue.extend', () => {
const a = jest.fn();
const b = jest.fn();
const c = jest.fn();
const d = jest.fn();
const a = jest.fn()
const b = jest.fn()
const c = jest.fn()
const d = jest.fn()
const A = Vue.extend({
created: a
})
@@ -163,7 +163,9 @@ describe('GLOBAL_EXTEND', () => {
const D = Vue.extend({
mixins: [C],
created: d,
render() { return null },
render() {
return null
}
})
new D().$mount()
expect(a.mock.calls.length).toStrictEqual(1)
@@ -255,7 +257,7 @@ describe('GLOBAL_PROTOTYPE', () => {
})
test('method this context', () => {
Vue.prototype.$test = function() {
Vue.prototype.$test = function () {
return this.msg
}
const vm = new Vue({