mirror of
https://github.com/ansible/awx.git
synced 2026-05-20 07:17:40 -02:30
Get tests running again
This commit is contained in:
@@ -3,9 +3,9 @@
|
||||
import '../support/node';
|
||||
|
||||
import {describeModule} from '../support/describe-module';
|
||||
import '../../src/shared/Utilities';
|
||||
import '../../src/shared/RestServices';
|
||||
import JobStatusGraph from '../../src/dashboard/graphs/job-status/main';
|
||||
import 'shared/Utilities';
|
||||
import 'shared/RestServices';
|
||||
import JobStatusGraph from 'dashboard/graphs/job-status/main';
|
||||
|
||||
var resizeHandler = sinon.spy();
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import '../support/node';
|
||||
|
||||
import featuresController from '../../src/shared/features/features.controller';
|
||||
import featuresController from 'shared/features/features.controller';
|
||||
|
||||
describe('featuresController', function() {
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import '../support/node';
|
||||
|
||||
import features from '../../src/shared/features/main';
|
||||
import features from 'shared/features/main';
|
||||
import {describeModule} from '../support/describe-module';
|
||||
|
||||
//test that it returns features, as well as test that it is returned in rootScope
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import '../support/node';
|
||||
|
||||
import jobTemplates from '../../src/job-templates/main';
|
||||
import jobTemplates from 'job-templates/main';
|
||||
import {describeModule} from '../support/describe-module';
|
||||
|
||||
describeModule(jobTemplates.name)
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import '../support/node';
|
||||
|
||||
import {describeModule} from '../support/describe-module';
|
||||
import mod from '../../src/shared/multi-select-list/main';
|
||||
import mod from 'shared/multi-select-list/main';
|
||||
|
||||
describeModule(mod.name)
|
||||
.testDirective('multiSelectList', function(test) {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import '../support/node';
|
||||
|
||||
import {describeModule} from '../support/describe-module';
|
||||
import mod from '../../src/shared/multi-select-list/main';
|
||||
import mod from 'shared/multi-select-list/main';
|
||||
|
||||
var mockController = {
|
||||
selectAll: sinon.spy(),
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import '../support/node';
|
||||
|
||||
import {describeModule} from '../support/describe-module';
|
||||
import JobStatusGraph from '../../src/dashboard/graphs/job-status/main';
|
||||
import JobStatusGraph from 'dashboard/graphs/job-status/main';
|
||||
|
||||
var processErrors = sinon.spy();
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import '../support/node';
|
||||
|
||||
import '../../src/shared/main';
|
||||
import 'shared/main';
|
||||
|
||||
describe('LodashAsPromised', function() {
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
import '../../support/node';
|
||||
|
||||
import compareFacts from '../../../src/system-tracking/compare-facts/flat';
|
||||
import compareFacts from 'system-tracking/compare-facts/flat';
|
||||
|
||||
// This makes this test runnable in node OR karma. The sheer
|
||||
// number of times I had to run this test made the karma
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
import '../../support/node';
|
||||
|
||||
import compareFacts from '../../../src/system-tracking/compare-facts/nested';
|
||||
import compareFacts from 'system-tracking/compare-facts/nested';
|
||||
|
||||
describe('CompareFacts.Nested', function() {
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
import '../support/node';
|
||||
|
||||
import systemTracking from '../../src/system-tracking/data-services/main';
|
||||
import systemTracking from 'system-tracking/data-services/main';
|
||||
import {describeModule} from '../support/describe-module';
|
||||
import moment from '../../src/shared/moment/moment';
|
||||
import moment from 'shared/moment/moment';
|
||||
|
||||
describeModule(systemTracking.name)
|
||||
.testService('factScanDataService', function(test, restStub) {
|
||||
|
||||
Reference in New Issue
Block a user