running-tools

A collection of tools for runners and their coaches
git clone https://git.ashermorgan.net/running-tools/
Log | Files | Refs | README

commit d964a50a3a5fb9986dae553073398179089cc3c8
parent c32c593600175dfa07e5a378185ce390eeaa38b8
Author: ashermorgan <59518073+ashermorgan@users.noreply.github.com>
Date:   Mon,  2 Aug 2021 21:52:36 -0700

Update tests

Diffstat:
Mtests/unit/IntInput.spec.js | 9---------
1 file changed, 0 insertions(+), 9 deletions(-)

diff --git a/tests/unit/IntInput.spec.js b/tests/unit/IntInput.spec.js @@ -15,15 +15,6 @@ describe('IntInput.vue', () => { expect(wrapper.find('input').element.value).to.equal('1'); }); - it('should update when value prop changes', () => { - const wrapper = mount(IntInput, { - propsData: { value: 1 } - }); - wrapper.props().value = 2; - expect(wrapper.find('input').element.value).to.equal('2'); - expect(wrapper.emitted().input).to.deep.equal([[2]]); - }); - it('up arrow should increment value', async () => { const wrapper = mount(IntInput); await wrapper.trigger('keydown', { key: 'ArrowUp' });