Skip to content
Prev Previous commit
Next Next commit
test: remove unnecessary arrow function
  • Loading branch information
armano2 committed Jan 3, 2020
commit 12c17ee3bb94e08594b815ba550940aacd411a40
2 changes: 1 addition & 1 deletion @commitlint/config-lerna-scopes/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,5 +65,5 @@ test('returns expected value for scoped lerna repository', async t => {
test('works with lerna version < 3', async t => {
const {'scope-enum': fn} = config.rules;
const cwd = await npm.bootstrap('fixtures/lerna-two');
await t.notThrowsAsync(async () => fn({cwd}));
await t.notThrowsAsync(fn({cwd}));
});