Skip to content

armgit / mocha

Public Imported from GitHub
0

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

Test: add bdd interface test case, coverage increased

现充743c8309f827
diff --git a/test/interfaces/bdd.spec.js b/test/interfaces/bdd.spec.js
index f6e24d88..2289c124 100644
--- a/test/interfaces/bdd.spec.js
+++ b/test/interfaces/bdd.spec.js
@@ -32,3 +32,11 @@ context('test suite', function () {
expect(this.number).to.equal(5);
});
});
+
+describe('pending suite', function () {
+ describe.skip('this is pending suite', function () {
+ it('should not run', function () {
+ expect(1 + 1).to.equal(3);
+ });
+ });
+});