Skip to content

fix(redirects): redirect error message url to correct page #611

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

Merged

Conversation

MatanBobi
Copy link
Member

As @eps1lon suggested in testing-library/dom-testing-library#764.
At the moment when there's no document defined and we're trying to use screen there's an error message with a broken link.
This change is to add a redirect to the correct place if a user tries to enter the broken link.

@MatanBobi
Copy link
Member Author

@nickmccurdy should we wait for you to merge #598 so I'll update this one accordingly?

Copy link
Member

@eps1lon eps1lon left a comment

Choose a reason for hiding this comment

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

Probably just forgotten when adding docs for testing-library/dom-testing-library#412

It's the first link under /s/. @kentcdodds Was /s/ intended to group permalinks?

@kentcdodds
Copy link
Member

I don't know what the /s/ this is all about . If I did that, I can't remember why 😅

@MatanBobi
Copy link
Member Author

@eps1lon so do you think we can merge this one? :)

@eps1lon eps1lon merged commit f926f8f into testing-library:master Sep 16, 2020
@MatanBobi
Copy link
Member Author

Tested in production and working. Thanks @eps1lon!

nickserv added a commit that referenced this pull request Oct 4, 2020
nickserv added a commit that referenced this pull request Oct 4, 2020
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

Successfully merging this pull request may close these issues.

3 participants