mirror of
https://github.com/ansible/awx.git
synced 2026-01-17 20:51:21 -03:30
Enable absolute imports
This commit is contained in:
parent
9820c8cd81
commit
dc1b312672
@ -19,6 +19,11 @@
|
||||
"settings": {
|
||||
"react": {
|
||||
"version": "16.5.2"
|
||||
},
|
||||
"import/resolver": {
|
||||
"node": {
|
||||
paths: ["src"]
|
||||
}
|
||||
}
|
||||
},
|
||||
"env": {
|
||||
|
||||
5
awx/ui_next/jsconfig.json
Normal file
5
awx/ui_next/jsconfig.json
Normal file
@ -0,0 +1,5 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"baseUrl": "src"
|
||||
}
|
||||
}
|
||||
@ -12,9 +12,7 @@ import workflowReducer from '../../../components/Workflow/workflowReducer';
|
||||
|
||||
jest.mock('../../../components/Workflow/workflowReducer');
|
||||
|
||||
const realWorkflowReducer = jest.requireActual(
|
||||
'../../../components/Workflow/workflowReducer'
|
||||
).default;
|
||||
const realWorkflowReducer = jest.requireActual('../../../components/Workflow/workflowReducer').default;
|
||||
|
||||
jest.mock('../../../api');
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user