summaryrefslogtreecommitdiff
path: root/addons/web/static/lib/qunit
diff options
context:
space:
mode:
authorGéry Debongnie <ged@odoo.com>2019-08-23 13:19:24 +0000
committerVincent Schippefilt <vsc@odoo.com>2019-12-09 11:09:10 +0000
commit29726e8fd000cb09075f9b6b2a6a8d2ddaf4ef58 (patch)
tree91718f6edc90cc069ee5ff3b44c4beb823d31104 /addons/web/static/lib/qunit
parent3b4592acfcd67f2b3e467c5e3f82d7b524b96843 (diff)
[ADD] web: add owl 1.0.0-beta1 to odoo
With this commit, we properly introduce the Owl library into our beloved codebase. More information on the Owl library can be found in the project repository: https://github.com/odoo/owl/ Co-authored-by: Aaron Bohy <aab@odoo.com> Co-authored-by: Julien Mougenot <jum@odoo.com> Co-authored-by: Mathieu Duckerts-Antoine <dam@odoo.com>
Diffstat (limited to 'addons/web/static/lib/qunit')
-rw-r--r--addons/web/static/lib/qunit/qunit-2.9.1.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/addons/web/static/lib/qunit/qunit-2.9.1.js b/addons/web/static/lib/qunit/qunit-2.9.1.js
index 3aeaea8c4ea..1e8e542c87c 100644
--- a/addons/web/static/lib/qunit/qunit-2.9.1.js
+++ b/addons/web/static/lib/qunit/qunit-2.9.1.js
@@ -1247,7 +1247,7 @@
var LISTENERS = Object.create(null);
var SUPPORTED_EVENTS = ["runStart", "suiteStart", "testStart", "assertion", "testEnd", "suiteEnd", "runEnd"];
- SUPPORTED_EVENTS.push("OdooAfterTestHook"); // Odoo customization
+ SUPPORTED_EVENTS.push("OdooBeforeTestHook", "OdooAfterTestHook"); // Odoo customization
/**
* Emits an event with the specified data to all currently registered listeners.
@@ -3001,7 +3001,8 @@
_this.testEnvironment = extend({}, module.testEnvironment);
_this.started = now();
- emit("testStart", _this.testReport.start(true));
+ emit("testStart", _this.testReport.start(true));
+ emit("OdooBeforeTestHook"); // Odoo customization
return runLoggingCallbacks("testStart", {
name: _this.testName,
module: module.name,