Skip to content

Commit

Permalink
remove redundant tests from test/skip.js - still testing the document…
Browse files Browse the repository at this point in the history
…ed API adequately
  • Loading branch information
nelsonic committed Aug 28, 2016
1 parent 6633e9a commit 27ce042
Showing 1 changed file with 0 additions and 28 deletions.
28 changes: 0 additions & 28 deletions test/skip.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,32 +49,4 @@ test('skip subtest', function(t) {
t.end();
});

// un-commenting these 3 tests will make the other tests fail
// scratched my head over this for hours...

// test('do not skip this', { skip: false }, function(t) {
// t.pass('this should run');
// ran ++;
// t.end();
// });

// test('skip subtest', function(t) {
// ran ++;
// t.test('do not skip this', { skip: false }, function(t) {
// ran ++;
// t.pass('this should run');
// t.end();
// });
// t.test('skip this', { skip: true }, function(t) {
// t.fail('this should not even run');
// t.end();
// });
// t.end();
// });

// test('right number of tests ran', function(t) {
// t.equal(ran, 3, 'ran the right number of tests');
// t.end();
// });

// vim: set softtabstop=4 shiftwidth=4:

0 comments on commit 27ce042

Please sign in to comment.