Browse Source

Test domLoaded Promise resolves

transpile
Luke Childs 8 years ago
parent
commit
8a7b75b6b9
  1. 5
      test/unit.js

5
test/unit.js

@ -5,3 +5,8 @@ test('domLoaded runs the callback', t => {
t.plan(1);
domLoaded(() => t.pass());
});
test('domLoaded Promise resolves', async t => {
t.plan(1);
domLoaded().then(() => t.pass());
});

Loading…
Cancel
Save