From 688256a75340a6d088736610a77c4d9d3c580905 Mon Sep 17 00:00:00 2001 From: Jordan Harband Date: Sun, 3 Jan 2021 11:23:03 -0800 Subject: [PATCH] [Tests] skip Promise tests when Promises are not available --- test/timeoutAfter.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/timeoutAfter.js b/test/timeoutAfter.js index 299af135..47c9ef9f 100644 --- a/test/timeoutAfter.js +++ b/test/timeoutAfter.js @@ -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();