Skip to content

Commit

Permalink
Fixes test (merge conflict)
Browse files Browse the repository at this point in the history
  • Loading branch information
drakeltheryuujin committed Nov 16, 2018
1 parent 79aaaf1 commit 686c7d1
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions test/indexTest.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,22 +32,4 @@ describe('moveDodgerRight', () => {

expect(newPosition).to.be.above(left)
})

describe('moveDodgerRight', () => {
beforeEach(() => {
dodger = document.getElementById('dodger')

window.requestAnimationFrame = cb => {
cb()
}
})

it('moves the DODGER to the right', () => {
const left = positionToInteger(dodger.style.left)

moveDodgerRight()

expect(positionToInteger(dodger.style.left)).toBeGreaterThan(left)
})
})
})

0 comments on commit 686c7d1

Please sign in to comment.