mirror of
https://github.com/ai/visibilityjs.git
synced 2026-01-14 15:57:59 -05:00
14 lines
279 B
JavaScript
14 lines
279 B
JavaScript
window = global;
|
|
window.addEventListener = function () { };
|
|
document = {
|
|
createElement: function () { },
|
|
addEventListener: function () { }
|
|
};
|
|
|
|
sinon = require('sinon');
|
|
|
|
chai = require('chai');
|
|
sinonChai = require('sinon-chai');
|
|
chai.should();
|
|
chai.use(sinonChai);
|