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