Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

Add jest's mock feature and mocking state_tunnel to resolve test error #3

Merged
merged 1 commit into from
Jan 22, 2019

Conversation

helloimela
Copy link
Contributor

Describe pull-request
Add jest's mock feature and mocking state_tunnel to resolve test error

Describe how to test it
npm run test

Solving issue
When run stencil test, there is an error:
TypeError: state_tunnel_1.createProviderConsumer is not a function

Additional context
Issue on stencil github:
ionic-team/stencil-state-tunnel#4

@awinny awinny self-requested a review January 22, 2019 09:47
@awinny awinny added the bug Something isn't working label Jan 22, 2019
@awinny awinny merged commit cd5402e into master Jan 22, 2019
@awinny awinny deleted the mocks_folder_for_tunnel branch January 22, 2019 09:48
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants