-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Conversation
Looks good! Do you have any project running with it ? Let's try running it in CI. |
…eration and related refactor.
- Updated e2e tests for demo-react-native
detox/src/exportWrapper.test.js
Outdated
const exportWrapper = require('./exportWrapper'); | ||
const platform = require('./platform'); | ||
jest.mock('./ios/expect'); |
There was a problem hiding this comment.
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
)
detox/src/exportWrapper.test.js
Outdated
|
||
it(`exports ios specific objects`, async () => { |
There was a problem hiding this comment.
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
Don't merge it! It doesn't tested yet. The pull request just for starting work discussion thread for now.