From aa5c61755e5cb409f97c694bded5081d598590f5 Mon Sep 17 00:00:00 2001 From: Arthur DANJOU Date: Mon, 11 Jul 2022 13:58:15 +0200 Subject: [PATCH] Remove unused files --- .npmrc | 1 - test/component.test.ts | 20 -------------------- 2 files changed, 21 deletions(-) delete mode 100644 .npmrc delete mode 100644 test/component.test.ts diff --git a/.npmrc b/.npmrc deleted file mode 100644 index bf2e764..0000000 --- a/.npmrc +++ /dev/null @@ -1 +0,0 @@ -shamefully-hoist=true diff --git a/test/component.test.ts b/test/component.test.ts deleted file mode 100644 index 8bbe03e..0000000 --- a/test/component.test.ts +++ /dev/null @@ -1,20 +0,0 @@ -import { mount } from '@vue/test-utils' - -describe('Counter.vue', () => { - it('should render', () => { - const wrapper = mount(Counter, { props: { initial: 10 } }) - expect(wrapper.text()).toContain('10') - expect(wrapper.html()).toMatchSnapshot() - }) - - it('should be interactive', async() => { - const wrapper = mount(Counter, { props: { initial: 0 } }) - expect(wrapper.text()).toContain('0') - - expect(wrapper.find('.inc').exists()).toBe(true) - - await wrapper.get('button').trigger('click') - - expect(wrapper.text()).toContain('1') - }) -})