Last change
on this file since 571e0df was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
1.7 KB
|
Rev | Line | |
---|
[6a3a178] | 1 | # Karma configuration
|
---|
| 2 | # Generated on %DATE%
|
---|
| 3 |
|
---|
| 4 | module.exports = (config) ->
|
---|
| 5 | config.set
|
---|
| 6 |
|
---|
| 7 | # base path that will be used to resolve all patterns (eg. files, exclude)
|
---|
| 8 | basePath: '%BASE_PATH%'
|
---|
| 9 |
|
---|
| 10 |
|
---|
| 11 | # frameworks to use
|
---|
| 12 | # available frameworks: https://www.npmjs.com/search?q=keywords:karma-adapter
|
---|
| 13 | frameworks: [%FRAMEWORKS%]
|
---|
| 14 |
|
---|
| 15 |
|
---|
| 16 | # list of files / patterns to load in the browser
|
---|
| 17 | files: [%FILES%
|
---|
| 18 | ]
|
---|
| 19 |
|
---|
| 20 |
|
---|
| 21 | # list of files / patterns to exclude
|
---|
| 22 | exclude: [%EXCLUDE%
|
---|
| 23 | ]
|
---|
| 24 |
|
---|
| 25 |
|
---|
| 26 | # preprocess matching files before serving them to the browser
|
---|
| 27 | # available preprocessors: https://www.npmjs.com/search?q=keywords:karma-preprocessor
|
---|
| 28 | preprocessors: {%PREPROCESSORS%
|
---|
| 29 | }
|
---|
| 30 |
|
---|
| 31 |
|
---|
| 32 | # test results reporter to use
|
---|
| 33 | # possible values: 'dots', 'progress'
|
---|
| 34 | # available reporters: https://www.npmjs.com/search?q=keywords:karma-reporter
|
---|
| 35 | reporters: ['progress']
|
---|
| 36 |
|
---|
| 37 |
|
---|
| 38 | # web server port
|
---|
| 39 | port: 9876
|
---|
| 40 |
|
---|
| 41 |
|
---|
| 42 | # enable / disable colors in the output (reporters and logs)
|
---|
| 43 | colors: true
|
---|
| 44 |
|
---|
| 45 |
|
---|
| 46 | # level of logging
|
---|
| 47 | # possible values:
|
---|
| 48 | # - config.LOG_DISABLE
|
---|
| 49 | # - config.LOG_ERROR
|
---|
| 50 | # - config.LOG_WARN
|
---|
| 51 | # - config.LOG_INFO
|
---|
| 52 | # - config.LOG_DEBUG
|
---|
| 53 | logLevel: config.LOG_INFO
|
---|
| 54 |
|
---|
| 55 |
|
---|
| 56 | # enable / disable watching file and executing tests whenever any file changes
|
---|
| 57 | autoWatch: %AUTO_WATCH%
|
---|
| 58 |
|
---|
| 59 |
|
---|
| 60 | # start these browsers
|
---|
| 61 | # available browser launchers: https://www.npmjs.com/search?q=keywords:karma-launcher
|
---|
| 62 | browsers: [%BROWSERS%]
|
---|
| 63 |
|
---|
| 64 |
|
---|
| 65 | # Continuous Integration mode
|
---|
| 66 | # if true, Karma captures browsers, runs the tests and exits
|
---|
| 67 | singleRun: false
|
---|
| 68 |
|
---|
| 69 | # Concurrency level
|
---|
| 70 | # how many browser instances should be started simultaneously
|
---|
| 71 | concurrency: Infinity
|
---|
Note:
See
TracBrowser
for help on using the repository browser.