Browse Source

Use this

greenkeeper/initial
Luke Childs 7 years ago
parent
commit
4ed18bca19
  1. 1
      package.json
  2. 2
      test/types.js
  3. 2
      test/unit.js

1
package.json

@ -61,6 +61,7 @@
"nyc": "^11.0.2", "nyc": "^11.0.2",
"rollup": "^0.42.0", "rollup": "^0.42.0",
"rollup-plugin-babel": "^2.7.1", "rollup-plugin-babel": "^2.7.1",
"this": "^1.0.2",
"window": "^3.1.1", "window": "^3.1.1",
"xo": "^0.18.2" "xo": "^0.18.2"
} }

2
test/types.js

@ -1,6 +1,6 @@
import test from 'ava'; import test from 'ava';
import Window from 'window'; import Window from 'window';
import whenDomReady from '../'; import whenDomReady from 'this';
test('whenDomReady is a function', t => { test('whenDomReady is a function', t => {
t.is(typeof whenDomReady, 'function'); t.is(typeof whenDomReady, 'function');

2
test/unit.js

@ -1,7 +1,7 @@
import EventEmitter from 'events'; import EventEmitter from 'events';
import test from 'ava'; import test from 'ava';
import Window from 'window'; import Window from 'window';
import whenDomReady from '../'; import whenDomReady from 'this';
test.cb('callback fires', t => { test.cb('callback fires', t => {
t.plan(1); t.plan(1);

Loading…
Cancel
Save