From d8f24afa6a98a4b55ac4af7c0eabef63fe9fb48d Mon Sep 17 00:00:00 2001 From: Winnie Hellmann Date: Fri, 6 Sep 2019 08:18:40 +0000 Subject: Move monitoring dashboard_spec to Jest --- spec/frontend/environment.js | 1 + 1 file changed, 1 insertion(+) (limited to 'spec/frontend/environment.js') diff --git a/spec/frontend/environment.js b/spec/frontend/environment.js index 290c0e797cb..a8e42721bf0 100644 --- a/spec/frontend/environment.js +++ b/spec/frontend/environment.js @@ -40,6 +40,7 @@ class CustomEnvironment extends JSDOMEnvironment { this.global.fixturesBasePath = `${ROOT_PATH}/tmp/tests/frontend/fixtures${IS_EE ? '-ee' : ''}`; this.global.staticFixturesBasePath = `${ROOT_PATH}/spec/frontend/fixtures`; + this.global.IS_EE = IS_EE; // Not yet supported by JSDOM: https://github.com/jsdom/jsdom/issues/317 this.global.document.createRange = () => ({ -- cgit v1.2.3