From 686dedc1185533bd43f5020f3d371a75370d86a7 Mon Sep 17 00:00:00 2001 From: eezhal92 Date: Sat, 6 Jan 2018 19:22:36 +0800 Subject: [PATCH] remove ui component test. all components will be tested again when coverage issue for vue components has been resolved. --- .../components/__tests__/ProductItem.spec.js | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 resource/js/components/__tests__/ProductItem.spec.js diff --git a/resource/js/components/__tests__/ProductItem.spec.js b/resource/js/components/__tests__/ProductItem.spec.js deleted file mode 100644 index cf13a5b..0000000 --- a/resource/js/components/__tests__/ProductItem.spec.js +++ /dev/null @@ -1,18 +0,0 @@ -import { shallow } from 'vue-test-utils'; -import ProductItem from '../ProductItem.vue'; - -describe('ProductItem.vue', () => { - it('displays default message', () => { - const wrapper = shallow(ProductItem, { - propsData: { - product: { - id: 1, - name: 'Pizza', - price: 40, - }, - }, - }); - - expect(wrapper.find('.product-item__name').text()).toBe('Pizza'); - }); -});