removes useless test
This commit is contained in:
@@ -1,18 +0,0 @@
|
|||||||
import { shallowMount } from '@vue/test-utils'
|
|
||||||
import NumberInput from '../NumberInput'
|
|
||||||
|
|
||||||
const factory = (value = 0) => {
|
|
||||||
return shallowMount(NumberInput, {
|
|
||||||
propsData: {
|
|
||||||
value: value
|
|
||||||
},
|
|
||||||
});
|
|
||||||
};
|
|
||||||
|
|
||||||
describe('NumberInput', () {
|
|
||||||
test('displays error when invalid', () => {
|
|
||||||
const wrapper = factory("fd2");
|
|
||||||
|
|
||||||
expect(wrapper.find("input").classes('is-danger')).toBe(true)
|
|
||||||
})
|
|
||||||
})
|
|
||||||
Reference in New Issue
Block a user