Skip to content

armgit / mocha

Public Imported from GitHub
0

☕️ Classic, reliable, trusted test framework for Node.js and the browser

Clarify nature of meta test

ScottFreeCoded2ba7a9676c8
diff --git a/test/integration/fixtures/regression/issue-2286.js b/test/integration/fixtures/regression/issue-2286.js
index e912d938..8a3c1ac4 100644
--- a/test/integration/fixtures/regression/issue-2286.js
+++ b/test/integration/fixtures/regression/issue-2286.js
@@ -1,5 +1,5 @@
-describe('suite', function () {
- beforeEach(function () { this.skip() })
- after(function () { console.log('after in suite') })
- it('test', function () {})
+describe('testception for issue 2286 meta test', function () {
+ beforeEach('skips tests', function () { this.skip() })
+ after('should run', function () { console.log('after in suite') })
+ it('skipped by beforeEach', function () {})
})