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

Replace invariant by warning in createMemoryHistory #170

Closed
wants to merge 7 commits into from
Closed

Replace invariant by warning in createMemoryHistory #170

wants to merge 7 commits into from

Conversation

petrbrzek
Copy link
Contributor

Related issue #165.

@@ -53,17 +53,6 @@ describe('memory history', function () {

expect(location.state).toEqual({ id: 5 })
expect(location.pathname).toEqual('/5')

expect(function () {
Copy link
Contributor

Choose a reason for hiding this comment

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

Well, if we already have test coverage, can we just leave the cases there (with some comments) just to check that they don't throw?

@taion
Copy link
Contributor

taion commented Dec 8, 2015

@petrbrzek Any update?

@petrbrzek
Copy link
Contributor Author

I did some rebase black magic and I'm not sure if I did it correctly. Can you check it please?

@taion
Copy link
Contributor

taion commented Dec 11, 2015

I merged it manually and added a bit more test coverage: e73011a

@taion taion closed this Dec 11, 2015
@lock lock bot locked as resolved and limited conversation to collaborators Jan 18, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants