Skip to content

Commit

Permalink
Anova One way test
Browse files Browse the repository at this point in the history
  • Loading branch information
nicedexter committed Jan 15, 2021
1 parent e413b7d commit 9fd148e
Showing 1 changed file with 11 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,16 +75,16 @@ describe('Integration Test for experiment API', () => {
expect(experimentState.experiment.status).toStrictEqual('success');
expect(experimentState.experiment).toBeTruthy();

// const props = { experimentState };
// const wrapper = mount(<Result {...props} />);
// expect(wrapper.find('.error')).toHaveLength(0);
// expect(wrapper.find('.loading')).toHaveLength(0);
// expect(wrapper.find('.result')).toHaveLength(1);
// expect(
// wrapper
// .find('div.result table tbody tr td')
// .at(1)
// .text()
// ).toEqual('34.196');
const props = { experimentState };
const wrapper = mount(<Result {...props} />);
expect(wrapper.find('.error')).toHaveLength(0);
expect(wrapper.find('.loading')).toHaveLength(0);
expect(wrapper.find('.result')).toHaveLength(3);
expect(
wrapper
.find('div.result table tbody tr td')
.at(1)
.text()
).toEqual('3');
});
});

0 comments on commit 9fd148e

Please sign in to comment.