mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-01 11:35:55 +01:00
chore: eslint prefer-arrow-callback
This commit is contained in:
committed by
Julian Lam
parent
707b55b6a5
commit
b56d9e12b5
@@ -161,9 +161,9 @@ before(async function () {
|
||||
await webserver.listen();
|
||||
|
||||
// Iterate over all of the test suites/contexts
|
||||
this.test.parent.suites.forEach(function (suite) {
|
||||
this.test.parent.suites.forEach((suite) => {
|
||||
// Attach an afterAll listener that resets the defaults
|
||||
suite.afterAll(async function () {
|
||||
suite.afterAll(async () => {
|
||||
await setupMockDefaults();
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user