mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-07-18 00:46:45 +00:00
chore: add karma-sinon for stubbing
This commit is contained in:
parent
6ee0b40306
commit
db3ee30dc2
4 changed files with 1596 additions and 486 deletions
|
|
@ -32,6 +32,7 @@
|
|||
"it": false,
|
||||
"inject": false,
|
||||
"expect": false,
|
||||
"spyOn": false
|
||||
"spyOn": false,
|
||||
"sinon": false
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,14 +1,16 @@
|
|||
// Karma configuration
|
||||
'use strict';
|
||||
|
||||
module.exports = function (config) {
|
||||
module.exports = function(config) {
|
||||
config.set({
|
||||
// base path that will be used to resolve all patterns (eg. files, exclude)
|
||||
basePath: '',
|
||||
|
||||
reportSlowerThan: 500,
|
||||
|
||||
// frameworks to use
|
||||
// available frameworks: https://npmjs.org/browse/keyword/karma-adapter
|
||||
frameworks: ['jasmine'],
|
||||
frameworks: ['jasmine', 'sinon'],
|
||||
|
||||
// list of files / patterns to load in the browser
|
||||
files: [
|
||||
|
|
@ -58,6 +60,7 @@ module.exports = function (config) {
|
|||
|
||||
plugins: [
|
||||
'karma-jasmine',
|
||||
'karma-sinon',
|
||||
//'karma-coverage',
|
||||
'karma-phantomjs-launcher',
|
||||
'karma-ng-html2js-preprocessor',
|
||||
|
|
|
|||
2070
package-lock.json
generated
2070
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
|
@ -111,6 +111,7 @@
|
|||
"karma-jasmine": "latest",
|
||||
"karma-ng-html2js-preprocessor": "latest",
|
||||
"karma-phantomjs-launcher": "latest",
|
||||
"karma-sinon": "^1.0.5",
|
||||
"lazypipe": "latest",
|
||||
"merge-stream": "latest",
|
||||
"node-sass": "latest",
|
||||
|
|
@ -118,6 +119,7 @@
|
|||
"protractor": "latest",
|
||||
"require-dir": "latest",
|
||||
"run-sequence": "latest",
|
||||
"sinon": "^4.1.2",
|
||||
"uglify-save-license": "^0.4.1",
|
||||
"wiredep": "latest",
|
||||
"yargs": "latest"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue