Skip to content

Commit

Permalink
remove duplicate spec
Browse files Browse the repository at this point in the history
  • Loading branch information
i-like-robots authored Jul 3, 2017
1 parent 9aaa9db commit e4006a3
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions spec/ReactTags.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -418,20 +418,4 @@ describe('React Tags', () => {
expect(input.style.width).toBeFalsy()
})
})

describe('without autoresize', () => {
beforeEach(() => {
createInstance({ autoresize: false })
})

it('does not assign a width to the input', () => {
const input = $('input')

type('hello world')

// As of JSDom 9.10.0 scrollWidth is a getter only and always 0
// TODO: can we test this another way?
expect(input.style.width).toBeFalsy()
})
})
})

0 comments on commit e4006a3

Please sign in to comment.