[FIX] web, test_lint: remove afterEach from eslintrc test suite

Commit [1] added a call to "afterEach" and added it to the test suite
eslintrc but since it's only called there from the testing suite once
and since it was not sync'd in the regular eslintrc, it's better to add
it as a global in the file directly.

[1]: https://github.com/odoo/odoo/commit/84389729392df491d5a67ebe25a8fa44beac1930

Part-of: odoo/odoo#146907
This commit is contained in:
Romain Derie
2023-12-26 08:36:44 +00:00
parent 5081951213
commit b68914221f
2 changed files with 1 additions and 1 deletions
@@ -1,4 +1,5 @@
/** @odoo-module */
/* global afterEach */
import {
ancestors,
-1
View File
@@ -45,7 +45,6 @@
"chai": "readonly",
"describe": "readonly",
"it": "readonly",
"afterEach": "readonly",
"mocha": "readonly",
"DOMPurify": "readonly"
}