import test from 'ava';
import domLoaded from '../';

test('domLoaded is a function', t => {
	t.is(typeof domLoaded, 'function');
});

import test from 'ava';
import domLoaded from '../';

test('domLoaded is a function', t => {
	t.is(typeof domLoaded, 'function');
});

test('domLoaded returns a Promise', t => {
	t.true(domLoaded() instanceof Promise);
});

Test domLoaded returns a Promise
Test domLoaded returns a Promise
