From d1da146ff114487596966d0f2bbbd8ea76c93cbe Mon Sep 17 00:00:00 2001 From: Vlad Shcherbin Date: Mon, 9 Sep 2024 02:42:20 +0300 Subject: [PATCH] Fix eslint errors --- tests/fixtures/src/index.js | 2 +- tests/index.test.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/fixtures/src/index.js b/tests/fixtures/src/index.js index 6ec79fa..adaa390 100644 --- a/tests/fixtures/src/index.js +++ b/tests/fixtures/src/index.js @@ -1,3 +1,3 @@ -export default function () { +export default function hey() { return 'hey' } diff --git a/tests/index.test.js b/tests/index.test.js index 17b8772..9bd0afe 100644 --- a/tests/index.test.js +++ b/tests/index.test.js @@ -6,7 +6,7 @@ import del from '../src' process.chdir(`${__dirname}/fixtures`) function sleep(ms) { - return new Promise((resolve) => setTimeout(resolve, ms)) + return new Promise((resolve) => { setTimeout(resolve, ms) }) } async function build(options) {