Skip to content

Commit

Permalink
[Tests] skip Promise tests when Promises are not available
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Jan 3, 2021
1 parent b9bec0e commit 688256a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/timeoutAfter.js
Expand Up @@ -37,7 +37,7 @@ tap.test('timeoutAfter test', function (tt) {
});
});

tap.test('timeoutAfter with Promises', function (tt) {
tap.test('timeoutAfter with Promises', { skip: typeof Promise === 'undefined' }, function (tt) {
tt.plan(1);

var test = tape.createHarness();
Expand Down

0 comments on commit 688256a

Please sign in to comment.