Tweak error message
This commit is contained in:
parent
55a4e2589b
commit
110f1f8b75
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@
|
|||
if (isCi) {
|
||||
mocha.grep = function () {
|
||||
try {
|
||||
throw new Error('it.only or describe.only was called')
|
||||
throw new Error('A spec contains a call to it.only or describe.only and should be reverted.')
|
||||
} catch (error) {
|
||||
console.error(error.stack || error)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue