From 3da2d51722234db032226e46ba92947aebf65fe0 Mon Sep 17 00:00:00 2001 From: Luke Childs Date: Fri, 27 Jan 2017 12:40:29 +0700 Subject: [PATCH] Reword tests to make it clear they run after DOMContentLoaded --- test/unit.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/unit.js b/test/unit.js index a5d5e5c..2027cd1 100644 --- a/test/unit.js +++ b/test/unit.js @@ -39,7 +39,7 @@ test.cb('Promise resolves with local document', t => { jsdom.env(config); }); -test('callback fires if we wait for DOMContentLoaded', async t => { +test('callback fires if we run after DOMContentLoaded', async t => { t.plan(1); const config = { html: '', @@ -48,7 +48,7 @@ test('callback fires if we wait for DOMContentLoaded', async t => { jsdom.env(config); }); -test.cb('Promise resolves if we wait for DOMContentLoaded', t => { +test.cb('Promise resolves if we run after DOMContentLoaded', t => { t.plan(1); const config = { html: '',