Semicolons not required (#7035)

This commit is contained in:
Harikrishna 2022-12-30 15:19:06 +05:30 committed by GitHub
parent 9a18ea28dd
commit 1c2728da91
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -272,7 +272,7 @@ describe('Components > View > ActionButton.vue', () => {
}
}
})
wrapper.vm.hasOwnProperty = () => Object.hasOwnProperty;
wrapper.vm.hasOwnProperty = () => Object.hasOwnProperty
const handleShowBadge = jest.spyOn(wrapper.vm, 'handleShowBadge')
await wrapper.setProps({ resource: null })
@ -287,7 +287,7 @@ describe('Components > View > ActionButton.vue', () => {
}
}
})
wrapper.vm.hasOwnProperty = () => Object.hasOwnProperty;
wrapper.vm.hasOwnProperty = () => Object.hasOwnProperty
const handleShowBadge = jest.spyOn(wrapper.vm, 'handleShowBadge')
await wrapper.setProps({ resource: { id: null } })
@ -302,7 +302,7 @@ describe('Components > View > ActionButton.vue', () => {
}
}
})
wrapper.vm.hasOwnProperty = () => Object.hasOwnProperty;
wrapper.vm.hasOwnProperty = () => Object.hasOwnProperty
const handleShowBadge = jest.spyOn(wrapper.vm, 'handleShowBadge')
await wrapper.setProps({
resource: {