1
0
mirror of https://github.com/ansible/awx.git synced 2024-10-30 13:55:31 +03:00

workaround import/dependency bug in tests

This commit is contained in:
Keith Grant 2020-08-11 10:36:39 -07:00
parent 65d4c347c9
commit d27d4e4f28
2 changed files with 6 additions and 2 deletions

View File

@ -3,4 +3,8 @@ export { default as Detail, DetailName, DetailValue } from './Detail';
export { default as DeletedDetail } from './DeletedDetail';
export { default as UserDateDetail } from './UserDateDetail';
export { default as DetailBadge } from './DetailBadge';
export { default as ObjectDetail } from './ObjectDetail';
/*
NOTE: ObjectDetail cannot be imported here, as it causes circular
dependencies in testing environment. Import it directly from
DetailList/ObjectDetail
*/

View File

@ -9,8 +9,8 @@ import {
Detail,
DetailList,
DeletedDetail,
ObjectDetail,
} from '../../../components/DetailList';
import ObjectDetail from '../../../components/DetailList/ObjectDetail';
import DeleteButton from '../../../components/DeleteButton';
import ErrorDetail from '../../../components/ErrorDetail';
import { NotificationTemplatesAPI } from '../../../api';