Skip to content

Commit

Permalink
fix(dependencies): update all dependencies to latest
Browse files Browse the repository at this point in the history
  • Loading branch information
Igor Muchychka committed Dec 5, 2016
1 parent 0bc11ca commit d5d5449
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 17 deletions.
6 changes: 6 additions & 0 deletions .travis.yml
Expand Up @@ -9,9 +9,15 @@ node_js:
- '4'
before_script:
- npm prune
- java -version
after_success:
- npm run coveralls
- npm run semantic-release
branches:
except:
- /^v\d+\.\d+\.\d+$/
addons:
apt:
packages:
- oracle-java8-installer
- oracle-java8-set-default
6 changes: 3 additions & 3 deletions lib/index.js
Expand Up @@ -20,9 +20,9 @@ module.exports = function (providedOptions) {
}

peerUtils.checkDependency('nightwatch', {
'^0.9.9': notTested.bind(null, '0.8.0 - 0.9.8'),
'0.8.0 - 0.9.8': supported,
other: notSuppoted.bind(null, '0.8.0 - 0.9.8'),
'^0.9.10': notTested.bind(null, '0.8.0 - 0.9.9'),
'0.8.0 - 0.9.9': supported,
other: notSuppoted.bind(null, '0.8.0 - 0.9.9'),
notFound: notFound
})
peerUtils.checkDependency('cucumber', {
Expand Down
14 changes: 7 additions & 7 deletions package.json
Expand Up @@ -74,25 +74,25 @@
"devDependencies": {
"chai": "^3.5.0",
"chromedriver": "^2.25.1",
"coveralls": "^2.11.14",
"cucumber": "^2.0.0-rc.1",
"coveralls": "^2.11.15",
"cucumber": "^2.0.0-rc.2",
"cz-conventional-changelog": "^1.2.0",
"eslint": "^3.9.1",
"eslint": "^3.11.1",
"eslint-config-standard": "^6.2.1",
"eslint-plugin-no-only-tests": "^1.1.0",
"eslint-plugin-promise": "^3.3.1",
"eslint-plugin-promise": "^3.4.0",
"eslint-plugin-standard": "^2.0.1",
"ghooks": "^1.3.2",
"grunt": "^1.0.1",
"gulp": "^3.9.1",
"gulp-nightwatch": "^0.3.2",
"istanbul": "^0.4.5",
"jsdom": "^9.8.3",
"mocha": "^3.1.2",
"nightwatch": "^0.9.8",
"mocha": "^3.2.0",
"nightwatch": "^0.9.9",
"phantomjs-prebuilt": "^2.1.13",
"rimraf": "^2.5.4",
"selenium-server": "^2.53.1",
"selenium-server": "^3.0.1",
"semantic-release": "^6.3.2"
},
"config": {
Expand Down
6 changes: 2 additions & 4 deletions test/cli.test.js
Expand Up @@ -161,10 +161,9 @@ describe('CLI', () => {
.then('The result should contain -9')
.run(['--tag', 'negative'])
.then((result) => {
result.features.length.should.equal(1)
result.features[0].result.scenarioCounts.should.deep.equal({passed: 2})
result.features[0].name.should.equal('negative addition')
result.features[1].result.scenarioCounts.should.deep.equal({})
result.features[1].name.should.equal('positive addition')
})
})

Expand Down Expand Up @@ -199,10 +198,9 @@ describe('CLI', () => {
.then('The result should contain -9')
.run(['--skiptags', 'positive'])
.then((result) => {
result.features.length.should.equal(1)
result.features[0].result.scenarioCounts.should.deep.equal({passed: 2})
result.features[0].name.should.equal('negative addition')
result.features[1].result.scenarioCounts.should.deep.equal({})
result.features[1].name.should.equal('positive addition')
})
})

Expand Down
7 changes: 4 additions & 3 deletions test/test-case-factory.js
Expand Up @@ -4,15 +4,16 @@ const fork = require('child_process').fork
const mkdirp = require('mkdirp')
const fs = require('fs')
const path = require('path')
const _ = require('lodash')
const template = require('lodash.template')
const assign = require('lodash.assign')
const PrefixStream = require('../lib/prefix-stream')
const nightwatchConfTemplatePath = fs.readFileSync(path.join(process.cwd(), 'test', 'fixture', 'nightwatch.conf.js.tmpl'))
const nightwatchConfTemplate = _.template(nightwatchConfTemplatePath)
const nightwatchConfTemplate = template(nightwatchConfTemplatePath)

class TestCaseFactory {
constructor (name, options) {
this.name = name
this.options = _.assign({
this.options = assign({
paralell: false,
hooks: false,
eventHandlersWithoutCallback: false,
Expand Down

0 comments on commit d5d5449

Please sign in to comment.