Skip to content
This repository was archived by the owner on Mar 7, 2019. It is now read-only.

Commit b063acb

Browse files
Add support for context and specify for Mocha BDD interface
1 parent 7d5338b commit b063acb

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

environments/shared/recommended.js

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,22 @@ module.exports = {
229229
object: 'it',
230230
property: 'skip',
231231
message: 'Skipped test case',
232+
}, {
233+
object: 'context',
234+
property: 'only',
235+
message: 'Isolated test suite',
236+
}, {
237+
object: 'context',
238+
property: 'skip',
239+
message: 'Skipped test suite',
240+
}, {
241+
object: 'specify',
242+
property: 'only',
243+
message: 'Isolated test case',
244+
}, {
245+
object: 'specify',
246+
property: 'skip',
247+
message: 'Skipped test case',
232248
}],
233249

234250
// Disallow unnecessary `return await`

0 commit comments

Comments
 (0)