diff options
Diffstat (limited to 'addons/mail/static/src/js/main.js')
| -rw-r--r-- | addons/mail/static/src/js/main.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/addons/mail/static/src/js/main.js b/addons/mail/static/src/js/main.js index f8199c4dc34..d19a8edb8e9 100644 --- a/addons/mail/static/src/js/main.js +++ b/addons/mail/static/src/js/main.js @@ -71,6 +71,13 @@ Object.assign(env, { } return this.messaging.isInitialized; }, + /** + * States whether the environment is in QUnit test or not. + * + * Useful to prevent some behaviour in QUnit tests, like applying + * style of attachment that uses url. + */ + isQUnitTest: false, loadingBaseDelayDuration: 400, messaging: undefined, messagingBus: new EventBus(), |
