Skip to content

Commit

Permalink
Adds tests for the ExperimentDetails page (#404)
Browse files Browse the repository at this point in the history
* Adds tests for the ExperimentDetails page

* PR comments. move tree unmount to afterEach
  • Loading branch information
rileyjbauer authored and k8s-ci-robot committed Nov 28, 2018
1 parent db772d5 commit 1da72fc
Show file tree
Hide file tree
Showing 4 changed files with 1,814 additions and 21 deletions.
1 change: 1 addition & 0 deletions frontend/src/pages/AllRunsList.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ describe('AllRunsList', () => {
updateToolbar: updateToolbarSpy,
};

// TODO: why is this called mount if it is using shallow?
function mountComponent(): ShallowWrapper {
const tree = shallow(<AllRunsList {...props} />);
// Necessary since the component calls updateToolbar with the toolbar props,
Expand Down
Loading

0 comments on commit 1da72fc

Please sign in to comment.