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

Migrate JS tests to Jest #883

Merged
merged 4 commits into from Sep 19, 2020
Merged

Migrate JS tests to Jest #883

merged 4 commits into from Sep 19, 2020

Conversation

exyi
Copy link
Member

@exyi exyi commented Sep 4, 2020

Tests are run in the DotVVM.Framework project by yarn jest, if you'd like to see code coverage run yarn jest --coverage (it's going to end up in coverage directory).

This PR migrates the old tests to the new infrastructure and also adds a few new tests. Notably, I have added a fast-check library that does random testing. It is used in the postback tests to schedule concurrent postbacks randomly and try to hit same races.

Copy link
Member

@tomasherceg tomasherceg left a comment

Choose a reason for hiding this comment

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

Nice one!

@exyi exyi merged commit f40eba5 into v3-master Sep 19, 2020
@exyi exyi deleted the js-tests-jest branch September 19, 2020 15:04
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.

None yet

2 participants