Skip to content

Commit

Permalink
fix(Sticky): fix varname
Browse files Browse the repository at this point in the history
  • Loading branch information
layershifter authored and Oleksandr Fediashov committed May 31, 2018
1 parent 95e0d82 commit 6915f52
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/specs/modules/Sticky/Sticky-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -404,8 +404,7 @@ describe('Sticky', () => {
sandbox.stub(window, 'requestAnimationFrame').callsFake(fn => setTimeout(fn, 0))
sandbox.stub(window, 'cancelAnimationFrame').callsFake(id => clearTimeout(id))

const wrapper = mount(<Sticky />)
const instance = renderedComponent.instance()
const instance = wrapperMount(<Sticky />).instance()
const update = sandbox.spy(instance, 'update')

domEvent.resize(window)
Expand Down

0 comments on commit 6915f52

Please sign in to comment.