Browse Source

Tests should be async

transpile
Luke Childs 8 years ago
parent
commit
e6b3f31632
  1. 2
      test/unit.js

2
test/unit.js

@ -1,7 +1,7 @@
import test from 'ava';
import domLoaded from '../';
test('domLoaded runs the callback', t => {
test('domLoaded runs the callback', async t => {
t.plan(1);
domLoaded(() => t.pass());
});

Loading…
Cancel
Save