Skip to content

Commit 12c17ee

Browse files
committed
test: remove unnecessary arrow function
1 parent 741aade commit 12c17ee

File tree

1 file changed

+1
-1
lines changed
  • @commitlint/config-lerna-scopes

1 file changed

+1
-1
lines changed

@commitlint/config-lerna-scopes/test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,5 +65,5 @@ test('returns expected value for scoped lerna repository', async t => {
6565
test('works with lerna version < 3', async t => {
6666
const {'scope-enum': fn} = config.rules;
6767
const cwd = await npm.bootstrap('fixtures/lerna-two');
68-
await t.notThrowsAsync(async () => fn({cwd}));
68+
await t.notThrowsAsync(fn({cwd}));
6969
});

0 commit comments

Comments
 (0)