diff --git a/babel.config.js b/babel.config.js index 24e3c70..3aaa109 100644 --- a/babel.config.js +++ b/babel.config.js @@ -1,6 +1,6 @@ module.exports = { env: { - testing: { + test: { presets: [ [ '@babel/preset-env', { targets: { diff --git a/test/FormulateInputText.test.js b/test/FormulateInputText.test.js index 933112d..4b47736 100644 --- a/test/FormulateInputText.test.js +++ b/test/FormulateInputText.test.js @@ -142,10 +142,6 @@ test('test that inputs that arent updated dont re-context themselves', () => { expect(wrapper.find({ref: "second"}).vm.context === secondContext).toBe(true) }) -test('this one should fail', () => { - expect(false).tobe(true) -}) - test('test that inputs contain their v-model value as the initial input', () => { const wrapper = mount(FormulateInput, { propsData: { type: 'text', formulateValue: 'initial val' } }) expect(wrapper.find('input').element.value).toBe('initial val')