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

feat: improve templates of features to allow better testing of routing related stuff #122

Open
jtdLab opened this issue Jun 22, 2023 · 0 comments

Comments

@jtdLab
Copy link
Owner

jtdLab commented Jun 22, 2023

Currently the routing tests are based on calls to a mock NavigatorObserver beeing verified.
This is not perfect because the navigator only gets notfied when the routing action completes.

A better approach would be to provide a hybrid mock router which has alls neccessary routes setup to run test but allows methods like push pop replace etc beeing verifeid

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

No branches or pull requests

1 participant