mirror of
https://github.com/ansible/awx.git
synced 2026-03-20 10:27:34 -02:30
Fixes pathing after aliases removed
This commit is contained in:
@@ -7,7 +7,7 @@ import scmCredential from './data.scmCredential.json';
|
|||||||
import credentialTypes from './data.credentialTypes.json';
|
import credentialTypes from './data.credentialTypes.json';
|
||||||
import CredentialForm from './CredentialForm';
|
import CredentialForm from './CredentialForm';
|
||||||
|
|
||||||
jest.mock('@api');
|
jest.mock('../../../api');
|
||||||
|
|
||||||
describe('<CredentialForm />', () => {
|
describe('<CredentialForm />', () => {
|
||||||
let wrapper;
|
let wrapper;
|
||||||
|
|||||||
@@ -3,9 +3,12 @@ import { withI18n } from '@lingui/react';
|
|||||||
import { t } from '@lingui/macro';
|
import { t } from '@lingui/macro';
|
||||||
import { useField } from 'formik';
|
import { useField } from 'formik';
|
||||||
import { FileUpload, FormGroup } from '@patternfly/react-core';
|
import { FileUpload, FormGroup } from '@patternfly/react-core';
|
||||||
import FormField from '@components/FormField';
|
import FormField from '../../../../components/FormField';
|
||||||
import { FormColumnLayout, FormFullWidthLayout } from '@components/FormLayout';
|
import {
|
||||||
import { required } from '@util/validators';
|
FormColumnLayout,
|
||||||
|
FormFullWidthLayout,
|
||||||
|
} from '../../../../components/FormLayout';
|
||||||
|
import { required } from '../../../../util/validators';
|
||||||
|
|
||||||
const GoogleComputeEngineSubForm = ({ i18n }) => {
|
const GoogleComputeEngineSubForm = ({ i18n }) => {
|
||||||
const [fileError, setFileError] = useState(null);
|
const [fileError, setFileError] = useState(null);
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
export {
|
export { default as GoogleComputeEngineSubForm } from './GoogleComputeEngineSubForm';
|
||||||
default as GoogleComputeEngineSubForm,
|
|
||||||
} from './GoogleComputeEngineSubForm';
|
|
||||||
export { default as ManualSubForm } from './ManualSubForm';
|
export { default as ManualSubForm } from './ManualSubForm';
|
||||||
export { default as SourceControlSubForm } from './SourceControlSubForm';
|
export { default as SourceControlSubForm } from './SourceControlSubForm';
|
||||||
|
|||||||
Reference in New Issue
Block a user