[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:
@@ -1,4 +1,5 @@
|
||||
/** @odoo-module */
|
||||
/* global afterEach */
|
||||
|
||||
import {
|
||||
ancestors,
|
||||
|
||||
@@ -45,7 +45,6 @@
|
||||
"chai": "readonly",
|
||||
"describe": "readonly",
|
||||
"it": "readonly",
|
||||
"afterEach": "readonly",
|
||||
"mocha": "readonly",
|
||||
"DOMPurify": "readonly"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user