Skip to content

add unittest for viewport#48

Merged
kaesonho merged 1 commit intomasterfrom
addunittest
Sep 10, 2015
Merged

add unittest for viewport#48
kaesonho merged 1 commit intomasterfrom
addunittest

Conversation

@kaesonho
Copy link
Contributor

@kaesonho kaesonho commented Sep 9, 2015

previously we skip the unittest for ViewportMixin since it's originally copied from an internal pkg, now we integrate https://github.com/yahoo/subscribe-ui-event (it's part of ViewportMixin originally), and keep the ViewportMixin in react-i13n.

change the mock object in unit test, from mocking ViewportMixin to be mocking subscribe-ui-event, so that ViewportMixin will be included in the unittest

@redonkulus @lingyan

@redonkulus
Copy link
Collaborator

👍

@yahoocla
Copy link

CLA is valid!

kaesonho added a commit that referenced this pull request Sep 10, 2015
add unittest for viewport
@kaesonho kaesonho merged commit 7b805fd into master Sep 10, 2015
@kaesonho kaesonho deleted the addunittest branch September 10, 2015 05:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants