karma-dart
Advanced tools
Comparing version 0.1.2 to 0.1.3
{ | ||
"name": "karma-dart", | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"description": "A Karma plugin - adapter for Dart unittest testing framework.", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -24,22 +24,26 @@ > Adapter for the Dart [unittest] testing framework. | ||
```javascript | ||
basePath = '.'; | ||
frameworks = ['dart-unittest']; | ||
module.exports = function(karma) { | ||
karma.configure({ | ||
basePath: '.', | ||
frameworks: ['dart-unittest'], | ||
// list of files / patterns to load in the browser | ||
// all tests must be 'included', but all other libraries must be 'served' and | ||
// optionally 'watched' only. | ||
files = [ | ||
'test/*.dart', | ||
{pattern: '**/*.dart', watched: true, included: false, served: true}, | ||
'packages/browser/dart.js' | ||
]; | ||
// list of files / patterns to load in the browser | ||
// all tests must be 'included', but all other libraries must be 'served' and | ||
// optionally 'watched' only. | ||
files: [ | ||
'test/*.dart', | ||
{pattern: '**/*.dart', watched: true, included: false, served: true}, | ||
'packages/browser/dart.js' | ||
], | ||
autoWatch = true; | ||
autoWatch: true, | ||
// If browser does not capture in given timeout [ms], kill it | ||
captureTimeout = 5000; | ||
// If browser does not capture in given timeout [ms], kill it | ||
captureTimeout: 5000, | ||
plugins = [ | ||
'karma-dart' | ||
] | ||
plugins: [ | ||
'karma-dart' | ||
] | ||
}); | ||
}; | ||
``` | ||
@@ -46,0 +50,0 @@ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
23016
101