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) {