From 47a2324b24d99e9ebc32c31c60ff339a0ec0bc6c Mon Sep 17 00:00:00 2001 From: tugcekucukoglu Date: Thu, 22 Feb 2024 16:02:09 +0300 Subject: [PATCH] Delete InputOtp.spec.js --- components/lib/inputotp/InputOtp.spec.js | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 components/lib/inputotp/InputOtp.spec.js diff --git a/components/lib/inputotp/InputOtp.spec.js b/components/lib/inputotp/InputOtp.spec.js deleted file mode 100644 index df8f16fc5..000000000 --- a/components/lib/inputotp/InputOtp.spec.js +++ /dev/null @@ -1,20 +0,0 @@ -import { mount } from '@vue/test-utils'; -import InputSwitch from './InputSwitch.vue'; - -describe('InputSwitch.vue', () => { - it('should exist', async () => { - const wrapper = mount(InputSwitch); - - expect(wrapper.find('.p-inputswitch.p-component').exists()).toBe(true); - expect(wrapper.find('.p-inputswitch-slider').exists()).toBe(true); - - await wrapper.vm.onChange({}); - - expect(wrapper.emitted()['update:modelValue'][0]).toEqual([true]); - - await wrapper.setProps({ modelValue: true }); - - expect(wrapper.vm.checked).toBe(true); - expect(wrapper.find('.p-inputswitch').classes()).toContain('p-highlight'); - }); -});