From 1c2728da91821fba05022f4065111e7276900ee4 Mon Sep 17 00:00:00 2001 From: Harikrishna Date: Fri, 30 Dec 2022 15:19:06 +0530 Subject: [PATCH] Semicolons not required (#7035) --- ui/tests/unit/components/view/ActionButton.spec.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ui/tests/unit/components/view/ActionButton.spec.js b/ui/tests/unit/components/view/ActionButton.spec.js index 4677a47cd14..29ade026c4f 100644 --- a/ui/tests/unit/components/view/ActionButton.spec.js +++ b/ui/tests/unit/components/view/ActionButton.spec.js @@ -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: {