Last active
August 29, 2015 13:56
-
-
Save follesoe/8914768 to your computer and use it in GitHub Desktop.
Aktørportalen karma
This file contains hidden or 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
// Karma configuration | |
// Generated on Fri Feb 07 2014 14:46:59 GMT+0100 (Romansk (normaltid)) | |
module.exports = function(config) { | |
config.set({ | |
// base path, that will be used to resolve files and exclude | |
basePath: '', | |
// frameworks to use | |
frameworks: ['jasmine'], | |
// list of files / patterns to load in the browser | |
files: [ | |
'Jasmine/lib/jasmine-1.3.1/jasmine-html.js', | |
'Aktorportal.Web/Scripts/date-nb-NO.js', | |
'Aktorportal.Web/Scripts/MicrosoftAjax.js', | |
'Aktorportal.Web/Scripts/jquery-1.10.2.js', | |
'Aktorportal.Web/Scripts/jquery.validate.js', | |
'Aktorportal.Web/Scripts/jquery.validate.unobtrusive.js', | |
'Aktorportal.Web/Scripts/jquery.nextindom.js', | |
'Aktorportal.Web/Scripts/jquery-migrate-1.2.1.js', | |
'Aktorportal.Web/Scripts/jquery-ui-1.10.3.custom.js', | |
'Aktorportal.Web/Scripts/jquery.tmpl.js', | |
'Jasmine/lib/jasmine-jquery/jasmine-jquery-1.5.93.js', | |
'Aktorportal.Web/Scripts/Utils.js', | |
'Aktorportal.Web/Scripts/klokkeslett.js', | |
'Aktorportal.Web/Scripts/Honorar.js', | |
'Aktorportal.Web/Scripts/VisSalærUtregninger.js', | |
'Aktorportal.Web/Scripts/jquery.utils.js', | |
'Aktorportal.Web/Scripts/jquery.visOgSkjul.js', | |
'Aktorportal.Web/Scripts/jquery.reisefraværBeregning.js', | |
'Aktorportal.Web/Scripts/jquery.rettsmoter.js', | |
'Aktorportal.Web/Scripts/jquery.fengslingsperiode.js', | |
'Aktorportal.Web/Scripts/jquery.arbeid.js', | |
'Aktorportal.Web/Scripts/jquery.reiseutgifter.js', | |
'Aktorportal.Web/Scripts/jquery.filopplasting.js', | |
'Aktorportal.Web/Scripts/jquery.indeksoppdatering.js', | |
'Aktorportal.Web/Scripts/jquery.leggTilNavnOgId.js', | |
'Aktorportal.Web/Scripts/jquery.leggTilValideringPaaInput.js', | |
'Aktorportal.Web/Scripts/jquery.oppdaterValideringsregler.js', | |
'Jasmine/spec/*.js' | |
], | |
// list of files to exclude | |
exclude: [ | |
'Aktorportal.Web/Scripts/*.min.js' | |
], | |
// test results reporter to use | |
// possible values: 'dots', 'progress', 'junit', 'growl', 'coverage' | |
reporters: ['dots'], | |
// web server port | |
port: 9876, | |
// enable / disable colors in the output (reporters and logs) | |
colors: true, | |
// level of logging | |
// possible values: config.LOG_DISABLE || config.LOG_ERROR || config.LOG_WARN || config.LOG_INFO || config.LOG_DEBUG | |
logLevel: config.LOG_INFO, | |
// enable / disable watching file and executing tests whenever any file changes | |
autoWatch: true, | |
// Start these browsers, currently available: | |
// - Chrome | |
// - ChromeCanary | |
// - Firefox | |
// - Opera | |
// - Safari (only Mac) | |
// - PhantomJS | |
// - IE (only Windows) | |
browsers: ['PhantomJS'], | |
// If browser does not capture in given timeout [ms], kill it | |
captureTimeout: 60000, | |
// Continuous Integration mode | |
// if true, it capture browsers, run tests and exit | |
singleRun: false | |
}); | |
}; |
This file contains hidden or 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
{ | |
devDependencies: { | |
karma: "~0.10.9", | |
phantomjs: "~1.9.7-1", | |
karma-teamcity-reporter: "~0.1.1" | |
}, | |
scripts: { | |
test: "node_modules\.bin\karma start karma.config.js --reporters teamcity --single-run", | |
testlokal: "node_modules\.bin\karma start karma.config.js" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment