Skip to content

Conversation

@moretti
Copy link
Member

@moretti moretti commented Feb 20, 2018

This ports the existing Mocha and Karma test to use a modern version of Jest.

@moretti moretti force-pushed the use-jest branch 6 times, most recently from 8ba5f36 to a4f4e1f Compare February 21, 2018 13:34
@moretti moretti changed the title WIP Upgrade deps and use jest Upgrade deps and use Jest Feb 21, 2018
const experimentName = UUID.v4();
describe('Weighted Experiment', () => {
xit('should choose a weighted variants', () => {
// TODO: this test work, but it's incredibly slow
Copy link
Member Author

@moretti moretti Feb 21, 2018

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. 🤔

@moretti moretti requested review from a user, 0ubbe, EleanorHaproff and mallison February 21, 2018 13:57
Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

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

Amazing job @moretti 💯

@moretti moretti changed the base branch from react-16 to master February 21, 2018 14:49
Copy link

@mallison mallison left a comment

Choose a reason for hiding this comment

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

Super stuff Paolo!

@moretti moretti merged commit 7c9868e into master Feb 21, 2018
@moretti moretti deleted the use-jest branch February 21, 2018 17:37
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