From 654c2b736a58f51e245054c9b264347880747335 Mon Sep 17 00:00:00 2001 From: Frazer Smith Date: Thu, 24 Oct 2024 17:19:47 +0100 Subject: [PATCH] test(events-listeners): replace `var` with `let` (#268) Signed-off-by: Frazer Smith --- test/events-listeners.test.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/events-listeners.test.js b/test/events-listeners.test.js index 810d43b..0a59f74 100644 --- a/test/events-listeners.test.js +++ b/test/events-listeners.test.js @@ -12,8 +12,7 @@ test('boot a plugin and then execute a call after that', (t) => { }) const app = boot() - // eslint-disable-next-line no-var - for (var i = 0; i < 12; i++) { + for (let i = 0; i < 12; i++) { app.on('preReady', noop) }