Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

export platform specific objects through proxy #374

Merged
merged 19 commits into from
Jan 26, 2018

Conversation

trofima
Copy link
Contributor

@trofima trofima commented Oct 27, 2017

Don't merge it! It doesn't tested yet. The pull request just for starting work discussion thread for now.

@trofima trofima self-assigned this Oct 27, 2017
@trofima trofima requested a review from rotemmiz October 27, 2017 09:36
@trofima trofima changed the title export platform specific objects throw proxy export platform specific objects through proxy Oct 27, 2017
@rotemmiz
Copy link
Member

Looks good! Do you have any project running with it ? Let's try running it in CI.

const exportWrapper = require('./exportWrapper');
const platform = require('./platform');
jest.mock('./ios/expect');
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

make sure you reset the mocks, instead of doing it statically, require and mock everything in beforeEach inside the suite (in the describe)


it(`exports ios specific objects`, async () => {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These tests are not being passed locally with wallaby, I think its related to the fact that they are not being reset correctly

@rotemmiz rotemmiz merged commit f8c9b6f into master Jan 26, 2018
@rotemmiz rotemmiz deleted the export-platform-related-objects branch January 26, 2018 13:43
@rotemmiz rotemmiz mentioned this pull request Feb 6, 2018
@wix wix locked and limited conversation to collaborators Jul 23, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants