diff options
| -rw-r--r-- | addons/web/static/lib/qunit/qunit-2.9.1.js | 3 |
1 files changed, 3 insertions, 0 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 ddc5a537a1d..3aeaea8c4ea 100644 --- a/addons/web/static/lib/qunit/qunit-2.9.1.js +++ b/addons/web/static/lib/qunit/qunit-2.9.1.js @@ -1247,6 +1247,7 @@ var LISTENERS = Object.create(null); var SUPPORTED_EVENTS = ["runStart", "suiteStart", "testStart", "assertion", "testEnd", "suiteEnd", "runEnd"]; + SUPPORTED_EVENTS.push("OdooAfterTestHook"); // Odoo customization /** * Emits an event with the specified data to all currently registered listeners. @@ -3140,6 +3141,8 @@ this.pushFailure("Expected at least one assertion, but none were run - call " + "expect(0) to accept zero assertions.", this.stack); } + emit("OdooAfterTestHook"); // Odoo customization + var i, module = this.module, moduleName = module.name, |
