Browse Source

Test domLoaded runs the callback

transpile
Luke Childs 8 years ago
parent
commit
c8a414dab5
  1. 7
      test/unit.js

7
test/unit.js

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