mirror of
https://github.com/ansible/awx.git
synced 2026-08-02 02:49:58 -02:30
Add close button to job detail and test
This commit is contained in:
@@ -10,7 +10,7 @@ describe('<Jobs />', () => {
|
||||
);
|
||||
});
|
||||
|
||||
test('should display correct breadcrumb heading', () => {
|
||||
test('should display a breadcrumb heading', () => {
|
||||
const history = createMemoryHistory({
|
||||
initialEntries: ['/jobs'],
|
||||
});
|
||||
@@ -30,7 +30,7 @@ describe('<Jobs />', () => {
|
||||
}
|
||||
}
|
||||
);
|
||||
expect(wrapper.find('BreadcrumbHeading').text()).toEqual('Jobs');
|
||||
expect(wrapper.find('BreadcrumbHeading').length).toBe(1);
|
||||
wrapper.unmount();
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user