diff options
Diffstat (limited to 'tests/lib/mocha-3.1.0/test/acceptance/interfaces/tdd.spec.js')
-rw-r--r-- | tests/lib/mocha-3.1.0/test/acceptance/interfaces/tdd.spec.js | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/tests/lib/mocha-3.1.0/test/acceptance/interfaces/tdd.spec.js b/tests/lib/mocha-3.1.0/test/acceptance/interfaces/tdd.spec.js deleted file mode 100644 index 7ad079e36d..0000000000 --- a/tests/lib/mocha-3.1.0/test/acceptance/interfaces/tdd.spec.js +++ /dev/null @@ -1,40 +0,0 @@ -suite('integer primitives', function(){ - suite('arithmetic', function(){ - var initialValue = 41; - - suiteSetup(function(done){ - expect(initialValue).to.eql(41); - initialValue += 1; - done(); - }); - - test('should add', function(){ - expect(initialValue).to.eql(42); - expect(1 + 1).to.equal(2); - expect(2 + 2).to.equal(4); - }); - - test('should subtract', function(){ - expect(initialValue).to.eql(42); - expect(1 - 1).to.equal(0); - expect(2 - 1).to.equal(1); - }); - - test.skip('should skip this test', function(){ - var zero = 0; - expect(zero).to.equal(1, 'this test should have been skipped'); - }); - - suite.skip('should skip this suite', function(){ - test('should skip this test', function(){ - var zero = 0; - expect(zero).to.equal(1, 'this test should have been skipped'); - }); - }); - - suiteTeardown(function(done){ - expect(initialValue).to.eql(42); - done(); - }); - }); -}); |