chore: eslint prefer-arrow-callback

This commit is contained in:
Peter Jaszkowiak
2021-02-04 00:01:39 -07:00
committed by Julian Lam
parent 707b55b6a5
commit b56d9e12b5
334 changed files with 4995 additions and 5182 deletions

View File

@@ -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();
});
});