From 9c051386d59abf84fdec71d85e3e4d6b359d7694 Mon Sep 17 00:00:00 2001 From: Baris Usakli Date: Mon, 30 Sep 2019 17:15:50 -0400 Subject: [PATCH] fix: tests --- test/utils.js | 1 + 1 file changed, 1 insertion(+) diff --git a/test/utils.js b/test/utils.js index ea484891d0..3d6e01606f 100644 --- a/test/utils.js +++ b/test/utils.js @@ -240,6 +240,7 @@ describe('Utility Methods', function () { }); it('should get empty object for url params', function (done) { + global.document = window.document; var params = utils.params(); assert.equal(Object.keys(params), 0); done();