mirror of
https://github.com/ansible/awx.git
synced 2026-05-03 07:35:28 -02:30
Setup testing for ci and development
This commit is contained in:
@@ -179,9 +179,6 @@
|
||||
<script src="{{ STATIC_URL }}js/helpers/AboutAnsible.js"></script>
|
||||
<script src="{{ STATIC_URL }}js/widgets/JobStatus.js"></script>
|
||||
<script src="{{ STATIC_URL }}js/widgets/DashboardCounts.js"></script>
|
||||
<script src="{{ STATIC_URL }}js/widgets/HostPieChart.js"></script>
|
||||
<script src="{{ STATIC_URL }}js/widgets/HostGraph.js"></script>
|
||||
<script src="{{ STATIC_URL }}js/widgets/JobStatusGraph.js"></script>
|
||||
<script src="{{ STATIC_URL }}js/widgets/DashboardJobs.js"></script>
|
||||
<script src="{{ STATIC_URL }}js/widgets/PortalJobs.js"></script>
|
||||
<script src="{{ STATIC_URL }}js/widgets/Stream.js"></script>
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
// Karma configuration
|
||||
// Generated on Mon Aug 04 2014 21:17:04 GMT-0400 (EDT)
|
||||
|
||||
module.exports = function() {
|
||||
return {
|
||||
module.exports = function(config) {
|
||||
config.set({
|
||||
|
||||
// base path that will be used to resolve all patterns (eg. files, exclude)
|
||||
basePath: '',
|
||||
@@ -53,7 +53,11 @@ module.exports = function() {
|
||||
'../static/js/config.js',
|
||||
'../static/js/directives/dashboard-graphs.js',
|
||||
'../static/js/*/*.js',
|
||||
'../static/js/app.js'
|
||||
'../static/js/app.js',
|
||||
'../static/lib/angular-mocks/angular-mocks.js',
|
||||
'../../../node_modules/ng-midway-tester/src/ngMidwayTester.js',
|
||||
'./unit/*',
|
||||
'./unit/**/*'
|
||||
],
|
||||
|
||||
|
||||
@@ -72,7 +76,7 @@ module.exports = function() {
|
||||
// test results reporter to use
|
||||
// possible values: 'dots', 'progress'
|
||||
// available reporters: https://npmjs.org/browse/keyword/karma-reporter
|
||||
reporters: ['progress'],
|
||||
reporters: ['dots', 'progress'],
|
||||
|
||||
client: {
|
||||
mocha: {
|
||||
@@ -102,5 +106,5 @@ module.exports = function() {
|
||||
// if true, Karma captures browsers, runs the tests and exits
|
||||
singleRun: false
|
||||
|
||||
};
|
||||
});
|
||||
};
|
||||
Reference in New Issue
Block a user