Skip to content

Commit

Permalink
Update karma test and dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
yadicksonbasedos committed Oct 24, 2017
1 parent ef00dcc commit a7738a1
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 24 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ $ bower install --save angular-ys-factory-keyboard@~1.0.0
### Install develop dependencies

```
$ bower install --save-dev mocha@~3.5.3
$ bower install --save-dev chai@~4.1.2
$ bower install --save-dev angular-mocks@~1.3.20
```

Expand All @@ -39,8 +37,10 @@ $ npm install --save-dev babel-preset-babili

```
$ npm install --save-dev bower
$ npm install --save-dev karma chai mocha
$ npm install --save-dev karma-chai karma-bro karma-mocha karma-phantomjs-launcher
$ npm install --save-dev karma
$ npm install --save-dev chai karma-chai
$ npm install --save-dev mocha karma-mocha
$ npm install --save-dev karma-bro karma-phantomjs-launcher
$ npm install --save-dev karma-coverage karma-istanbul
$ npm install --save-dev karma-mocha-reporter karma-junit-reporter
$ npm install --save-dev coveralls
Expand Down
2 changes: 0 additions & 2 deletions bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@
"angular-ys-factory-keyboard": "~1.0.0"
},
"devDependencies": {
"mocha": "~3.5.3",
"chai": "~4.1.2",
"angular-mocks": "~1.3.20"
}
}
18 changes: 0 additions & 18 deletions karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ module.exports = function(config) {

// list of files / patterns to load in the browser
files: [
'bower_components/mocha/mocha.js',
'bower_components/chai/chai.js',
'bower_components/jquery/dist/jquery.js',
'bower_components/angular/angular.js',
'bower_components/angular-mocks/angular-mocks.js',
Expand Down Expand Up @@ -51,22 +49,6 @@ module.exports = function(config) {
]
},

mochaReporter: {
colors: {
success: 'blue',
info: 'bgGreen',
warning: 'cyan',
error: 'bgRed'
},
symbols: {
success: '+',
info: '#',
warning: '!',
error: 'x'
},
output: 'autowatch'
},

junitReporter: {
outputDir: 'reports',
outputFile: 'test-results.xml',
Expand Down
1 change: 1 addition & 0 deletions test/angular-ys-service-keyboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@
it('Check other', inject(function(ysServiceKeyboard) {
expect(ysServiceKeyboard.isDecimalNumber('Other')).to.be.false;
}));

});

});
Expand Down

0 comments on commit a7738a1

Please sign in to comment.