Skip to content

Commit

Permalink
update test
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinlog committed Jul 19, 2021
1 parent 60114aa commit b35170a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ describe('UserActionHostIsolationCommentEvent', () => {
it('renders with the correct action and hostname', async () => {
const wrapper = mount(<HostIsolationCommentEvent {...defaultProps()} />);
expect(wrapper.find(`[data-test-subj="actions-link-e1"]`).first().exists()).toBeTruthy();
expect(wrapper.text()).toBe('isolate submitted on host host1');
expect(wrapper.text()).toBe('isolate request submitted on host host1');
});

it('navigates to app on link click', async () => {
Expand Down

0 comments on commit b35170a

Please sign in to comment.