Skip to content

Conversation

dustinsoftware
Copy link
Member

This is caused by ConfigureMockEnvironment setting up the static
property Environment. Since tests run in parallel, there is a race
between which tests that set up different fake environments, causing
occasional failures. Disabling parallelization fixes the issue, and
tests run so fast that this should be ok.

This is caused by ConfigureMockEnvironment setting up the static
property Environment. Since tests run in parallel, there is a race
between which tests that set up different fake environments, causing
occasional failures. Disabling parallelization fixes the issue, and
tests run so fast that this should be ok.
@Daniel15
Copy link
Member

Thanks! I think HtmlHelperExtensions is the only part of ReactJS.NET that doesn't inject dependencies into its constructor (since it consists entirely of static extension methods) and thus relies on some global environment. I wonder if that could be changed/fixed.

@Daniel15 Daniel15 merged commit 5328481 into reactjs:master Nov 13, 2017
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.

2 participants