UNPKG

downlinkmax

Version:

downlinkMax is a 0.26KB Network Information API polyfill for navigator.connection.downlinkMax written in both CoffeeScript and JavaScript with AMD support.

69 lines (56 loc) 1.39 kB
### @file ## Responsibilities - configure karma for jasmine testing Scaffolded with generator-microjs v0.1.2 @author Daniel Lamb <dlamb.open.source@gmail.com> ### module.exports = (config) -> config.set ### Path used to resolve file paths ### basePath: '../' ### Test results reporter to use: dots, progress, nyan, story, coverage etc. ### reporters: ['dots'] ### Test pre-processors ### preprocessors: 'downlinkmax.coffee': ['coffee'] 'test/spec/*.spec.coffee': ['coffee'] ### Locally installed browsers Chrome, ChromeCanary, PhantomJS, Firefox, Opera, IE, Safari, iOS etc. ### browsers: ['PhantomJS'] ### Enable / disable watching file and executing tests whenever any file changes ### autoWatch: false ### Continuous Integration mode: if true, it capture browsers, run tests and exit ### singleRun: true ### Report slow running tests, time in ms ### reportSlowerThan: 250 ### If browser does not capture in given timeout [ms], kill it Increasing timeout in case connection in Travis CI is slow ### captureTimeout: 100000 ### Logging Level: DISABLE, ERROR, WARN, INFO, DEBUG ### logLevel: 'INFO' ### Test framework to use: jasmine, mocha, qunit etc. ### frameworks: ['jasmine']