Use flag provided from Webpack to mock gon.ee

This commit is contained in:
Winnie Hellmann 2019-03-13 22:57:39 +01:00
parent 2ea8ebfad5
commit 0b5d8b9a83

View file

@ -69,7 +69,7 @@ window.gl = window.gl || {};
window.gl.TEST_HOST = TEST_HOST;
window.gon = window.gon || {};
window.gon.test_env = true;
window.gon.ee = false;
window.gon.ee = process.env.EE;
gon.relative_url_root = '';
let hasUnhandledPromiseRejections = false;