This commit is contained in:
Alex Dima 2019-12-20 20:45:42 +01:00
parent 71919c681e
commit 8267281d21
No known key found for this signature in database
GPG key ID: 6E58D7B045760DA0
5 changed files with 47 additions and 8 deletions

View file

@ -18,7 +18,7 @@ global.document = tmp.window.document;
global.navigator = tmp.window.navigator;
global.self = global;
global.document.queryCommandSupported = function () { return false; };
global.window = { location: {} };
global.window = { location: {}, navigator: tmp.window.navigator };
requirejs(['./test/setup'], function () {
glob('release/dev/*/*.test.js', { cwd: path.dirname(__dirname) }, function (err, files) {