-
Notifications
You must be signed in to change notification settings - Fork 44
Upgrade deps and use Jest #2
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
Conversation
8ba5f36 to
a4f4e1f
Compare
| const experimentName = UUID.v4(); | ||
| describe('Weighted Experiment', () => { | ||
| xit('should choose a weighted variants', () => { | ||
| // TODO: this test work, but it's incredibly slow |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This test is currently skipped, because it takes ages to run, as it has to render the experiment 1000 times to measure the standard deviation.
Perhaps there's a better way of doing that. 🤔
ghost
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Amazing job @moretti 💯
mallison
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Super stuff Paolo!
This ports the existing Mocha and Karma test to use a modern version of Jest.