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

Passthrough using relative URL #14

Open
mrloop opened this issue Nov 27, 2023 · 0 comments
Open

Passthrough using relative URL #14

mrloop opened this issue Nov 27, 2023 · 0 comments

Comments

@mrloop
Copy link
Contributor

mrloop commented Nov 27, 2023

ember-cli-code-coverage suggests using this.passthrough('/write-coverage'); when using ember-cli-mirage. With mirage-msw I'm using this.passthrough(`${location.origin}/write-coverage`); otherwise get an error. Should mirage-msw passthrough support relative URLs?

https://github.com/ember-cli-code-coverage/ember-cli-code-coverage#create-a-passthrough-when-intercepting-all-ajax-requests-in-tests

@mrloop mrloop changed the title Passthrough using relative Passthrough using relative URL Nov 27, 2023
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