Skip to content
Permalink
Browse files
fix(deps): updated Mocha to 8.x
  • Loading branch information
jan-molak committed Jun 14, 2020
1 parent 5ee3b88 commit ad5fa66fd12971202ffc5ad65ca44e7cb2e21ddd
Showing 10 changed files with 181 additions and 234 deletions.
@@ -52,6 +52,6 @@
"typescript": "^3.9.5"
},
"dependencies": {
"mocha": "^7.2.0"
"mocha": "^8.0.1"
}
}
@@ -16,7 +16,7 @@
"scripts": {
"clean": "rimraf lib",
"lint": "tslint --project tsconfig-lint.json --config ../../tslint.json --format stylish",
"test": "parallel-mocha --config ../../.mocharc.yml 'spec/**/*.spec.*'"
"test": "mocha --config ../../.mocharc.yml 'spec/**/*.spec.*'"
},
"repository": {
"type": "git",
@@ -16,7 +16,7 @@
"scripts": {
"clean": "rimraf lib",
"lint": "tslint --project tsconfig-lint.json --config ../../tslint.json --format stylish",
"test": "parallel-mocha --config ../../.mocharc.yml 'spec/**/*.spec.*'"
"test": "mocha --parallel --config ../../.mocharc.yml 'spec/**/*.spec.*'"
},
"repository": {
"type": "git",
@@ -16,7 +16,7 @@
"scripts": {
"clean": "rimraf lib",
"lint": "tslint --project tsconfig-lint.json --config ../../tslint.json --format stylish",
"test": "mocha --config ../../.mocharc.yml 'spec/**/*.spec.*'"
"test": "mocha --parallel --config ../../.mocharc.yml 'spec/**/*.spec.*'"
},
"repository": {
"type": "git",
@@ -34,7 +34,7 @@
"@serenity-js/assertions": "2.10.1",
"@serenity-js/core": "2.10.1",
"@serenity-js/mocha": "2.10.1",
"mocha": "^7.2.0"
"mocha": "^8.0.1"
},
"devDependencies": {
"@types/mocha": "^7.0.2"
@@ -23,7 +23,7 @@ export function mocha(...params: string[]): Promise<SpawnResult> {
...params,

// The path to the reporter needs to be relative to the Mocha module.
// Normally this will be simply "@serenity-js/jasmine" as the Serenity/JS adapter for Jasmine
// Normally this will be simply "@serenity-js/mocha" as the Serenity/JS adapter for Jasmine
// will be installed next to it.
`--reporter=${ path.resolve(__dirname, '../../../packages/mocha') }`,

0 comments on commit ad5fa66

Please sign in to comment.