Skip to content

Commit

Permalink
Upgrade: Node v8
Browse files Browse the repository at this point in the history
Upgrading NodeJS and Karma Browser to Chrome Headless
  • Loading branch information
omgaz committed Oct 29, 2017
1 parent a06236b commit bf7c043
Show file tree
Hide file tree
Showing 6 changed files with 1,578 additions and 15 deletions.
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
language: node_js
node_js:
- "4.6"
- "8"
addons:
chrome: stable
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Tests

[![Build Status](https://travis-ci.org/omgaz/js-diff.svg?branch=master)](https://travis-ci.org/omgaz/js-diff)

If you'd like to run tests, check out the whole project. You'll need NodeJS installed. Tests use Karma and PhantomJS.
If you'd like to run tests, check out the whole project. You'll need NodeJS installed. Tests use Karma and ChromeHeadless.

npm install
npm test
npm test
2 changes: 1 addition & 1 deletion karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ module.exports = function(config) {

// start these browsers
// available browser launchers: https://npmjs.org/browse/keyword/karma-launcher
browsers: ['PhantomJS'],
browsers: ['ChromeHeadless'],


// Continuous Integration mode
Expand Down
Loading

0 comments on commit bf7c043

Please sign in to comment.