Browse Source

Reword tests to make it clear they run after DOMContentLoaded

browser-tests
Luke Childs 8 years ago
parent
commit
3da2d51722
  1. 4
      test/unit.js

4
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: '',

Loading…
Cancel
Save