Last active
August 29, 2015 14:18
-
-
Save DavidFrahm/82ce34c004a54c70f2cb to your computer and use it in GitHub Desktop.
Ionic unit test config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "my-app", | |
"private": "true", | |
"devDependencies": { | |
"ionic": "driftyco/ionic-bower#1.0.0-rc.2", | |
"angular-mocks": "~1.3.15" | |
}, | |
"resolutions": { | |
"angular": "1.3.13" | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = function (config) { | |
config.set({ | |
basePath: '../www/', | |
files: [ | |
'lib/ionic/js/ionic.bundle.js', | |
'lib/angular-mocks/angular-mocks.js', | |
'js/app.js', | |
'../test/unit/**/*.js' | |
], | |
autoWatch: true, | |
singleRun: true, | |
frameworks: ['jasmine'], | |
browsers: ['PhantomJS'], | |
plugins: ['karma-jasmine', 'karma-phantomjs-launcher'], | |
reporters: ['progress'] | |
}); | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "my-app", | |
"version": "0.0.1", | |
"description": "This app is so hot right now", | |
"dependencies": { | |
"gulp": "^3.5.6", | |
"gulp-sass": "^0.7.1", | |
"gulp-concat": "^2.2.0", | |
"gulp-minify-css": "^0.3.0", | |
"gulp-rename": "^1.2.0" | |
}, | |
"devDependencies": { | |
"bower": "^1.3.3", | |
"gulp-util": "^2.2.14", | |
"jasmine-core": "^2.2.0", | |
"karma": "^0.12.31", | |
"karma-jasmine": "^0.3.5", | |
"karma-phantomjs-launcher": "^0.1.4", | |
"minimist": "^1.1.1", | |
"shelljs": "^0.3.0", | |
"xml2js": "^0.4.6" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment