-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(depends): updating all dev dependencies
- Rewrite Karma config to comply with new semantics - Trick JSHint into validating 'abstract' hash keys in ES-compliant way - Fixes #585
- Loading branch information
Showing
3 changed files
with
66 additions
and
64 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,64 +1,66 @@ | ||
// Testacular configuration file | ||
module.exports = function (karma) { | ||
karma.set({ | ||
// base path, that will be used to resolve files and exclude | ||
basePath: '..', | ||
|
||
// base path, that will be used to resolve files and exclude | ||
basePath = '..'; | ||
frameworks: ['jasmine'], | ||
|
||
// list of files / patterns to load in the browser | ||
files = [ | ||
JASMINE, | ||
JASMINE_ADAPTER, | ||
'lib/angular-1.1.5.js', | ||
'test/lib/angular-mocks-1.1.5.js', | ||
'test/testUtils.js', | ||
// list of files / patterns to load in the browser | ||
files: [ | ||
'lib/angular-1.1.5.js', | ||
'test/lib/angular-mocks-1.1.5.js', | ||
'test/testUtils.js', | ||
|
||
'src/common.js', | ||
'src/resolve.js', | ||
'src/templateFactory.js', | ||
'src/urlMatcherFactory.js', | ||
'src/urlRouter.js', | ||
'src/view.js', | ||
'src/state.js', | ||
'src/viewDirective.js', | ||
'src/stateDirectives.js', | ||
'src/stateFilters.js', | ||
'src/compat.js', | ||
'src/common.js', | ||
'src/resolve.js', | ||
'src/templateFactory.js', | ||
'src/urlMatcherFactory.js', | ||
'src/urlRouter.js', | ||
'src/view.js', | ||
'src/state.js', | ||
'src/viewDirective.js', | ||
'src/stateDirectives.js', | ||
'src/stateFilters.js', | ||
'src/compat.js', | ||
|
||
'test/*Spec.js', | ||
// 'test/compat/matchers.js', | ||
// 'test/compat/*Spec.js', | ||
]; | ||
'test/*Spec.js', | ||
// 'test/compat/matchers.js', | ||
// 'test/compat/*Spec.js', | ||
], | ||
|
||
// list of files to exclude | ||
exclude = []; | ||
// list of files to exclude | ||
exclude: [], | ||
|
||
// use dots reporter, as travis terminal does not support escaping sequences | ||
// possible values: 'dots' || 'progress' | ||
reporter = 'dots'; | ||
// use dots reporter, as travis terminal does not support escaping sequences | ||
// possible values: 'dots' || 'progress' | ||
reporters: 'dots', | ||
|
||
// these are default values, just to show available options | ||
// these are default values, just to show available options | ||
|
||
// web server port | ||
port = 8080; | ||
// web server port | ||
port: 8080, | ||
|
||
// enable / disable colors in the output (reporters and logs) | ||
colors = true; | ||
// enable / disable colors in the output (reporters and logs) | ||
colors: true, | ||
|
||
// level of logging | ||
// possible values: LOG_DISABLE || LOG_ERROR || LOG_WARN || LOG_INFO || LOG_DEBUG | ||
logLevel = LOG_DEBUG; | ||
// level of logging | ||
// possible values: LOG_DISABLE || LOG_ERROR || LOG_WARN || LOG_INFO || LOG_DEBUG | ||
logLevel: karma.LOG_DEBUG, | ||
|
||
// enable / disable watching file and executing tests whenever any file changes | ||
autoWatch = false; | ||
// enable / disable watching file and executing tests whenever any file changes | ||
autoWatch: false, | ||
|
||
// polling interval in ms (ignored on OS that support inotify) | ||
autoWatchInterval = 0; | ||
|
||
// Start these browsers, currently available: | ||
// - Chrome | ||
// - ChromeCanary | ||
// - Firefox | ||
// - Opera | ||
// - Safari | ||
// - PhantomJS | ||
browsers = [ 'PhantomJS' ]; | ||
// polling interval in ms (ignored on OS that support inotify) | ||
autoWatchInterval: 0, | ||
|
||
// Start these browsers, currently available: | ||
// - Chrome | ||
// - ChromeCanary | ||
// - Firefox | ||
// - Opera | ||
// - Safari | ||
// - PhantomJS | ||
browsers: [ 'PhantomJS' ] | ||
}) | ||
}; |
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
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