Skip to content

Commit

Permalink
#9 added expects
Browse files Browse the repository at this point in the history
  • Loading branch information
abbr committed Oct 9, 2017
1 parent 1be3711 commit 9b7d779
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions test/components/header/indexTest.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,14 @@ describe('Header', () => {
.first()
.simulate('click')
expect(wrapper.state().deck.getActiveSlide().components.length).to.equal(2)
expect(
wrapper.state().deck.getActiveSlide().components[1].selected
).to.equal(true)
expect(
wrapper.state().deck.getActiveSlide().components[1].x
).to.equal(0)
expect(
wrapper.state().deck.getActiveSlide().components[1].y
).to.equal(0)
})
})

0 comments on commit 9b7d779

Please sign in to comment.