Skip to content

Commit

Permalink
test: skip setValue tests
Browse files Browse the repository at this point in the history
  • Loading branch information
eddyerburgh committed Jun 9, 2018
1 parent bbb368a commit 3446ec2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions test/specs/wrapper/setChecked.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@ import ComponentWithInput from '~resources/components/component-with-input.vue'
import { describeWithShallowAndMount } from '~resources/utils'

describeWithShallowAndMount('setChecked', (mountingMethod) => {
it('sets element checked true with no option passed', () => {
it.skip('sets element checked true with no option passed', () => {
const wrapper = mountingMethod(ComponentWithInput)
const input = wrapper.find('input[type="checkbox"]')
input.setChecked()

expect(input.element.checked).to.equal(true)
})

it('sets element checked equal to param passed', () => {
it.skip('sets element checked equal to param passed', () => {
const wrapper = mountingMethod(ComponentWithInput)
const input = wrapper.find('input[type="checkbox"]')

Expand All @@ -21,7 +21,7 @@ describeWithShallowAndMount('setChecked', (mountingMethod) => {
expect(input.element.checked).to.equal(false)
})

it('updates dom with checkbox v-model', () => {
it.skip('updates dom with checkbox v-model', () => {
const wrapper = mountingMethod(ComponentWithInput)
const input = wrapper.find('input[type="checkbox"]')

Expand All @@ -32,7 +32,7 @@ describeWithShallowAndMount('setChecked', (mountingMethod) => {
expect(wrapper.text()).to.not.contain('checkbox checked')
})

it('changes state the right amount of times with checkbox v-model', () => {
it.skip('changes state the right amount of times with checkbox v-model', () => {
const wrapper = mountingMethod(ComponentWithInput)
const input = wrapper.find('input[type="checkbox"]')

Expand Down
4 changes: 2 additions & 2 deletions test/specs/wrapper/setValue.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@ import ComponentWithInput from '~resources/components/component-with-input.vue'
import { describeWithShallowAndMount } from '~resources/utils'

describeWithShallowAndMount('setValue', (mountingMethod) => {
it('sets element value', () => {
it.skip('sets element value', () => {
const wrapper = mountingMethod(ComponentWithInput)
const input = wrapper.find('input[type="text"]')
input.setValue('foo')

expect(input.element.value).to.equal('foo')
})

it('updates dom with v-model', () => {
it.skip('updates dom with v-model', () => {
const wrapper = mountingMethod(ComponentWithInput)
const input = wrapper.find('input[type="text"]')

Expand Down

0 comments on commit 3446ec2

Please sign in to comment.