Skip to content

Commit

Permalink
[fixed] style in MockMotionElement
Browse files Browse the repository at this point in the history
  • Loading branch information
appsforartists committed Dec 21, 2016
1 parent 476f80b commit 1a19a32
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/streams/src/sources/__tests__/scrollSource.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,19 +96,19 @@ describe('scrollSource',

class MockMotionElement {
_lastPosition = {};
next = () => {};
_next = () => {};

getEvent$() {
return new MotionObservable(
observer => {
this.next = observer.next
this._next = observer.next
}
);
}

scrollTo(position) {
this._lastPosition = position;
this.next();
this._next();
}

scrollPosition = {
Expand Down

0 comments on commit 1a19a32

Please sign in to comment.