Skip to content

Commit 54ffee1

Browse files
ovflowdavivkeller
andauthored
chore: code review
Co-authored-by: Aviv Keller <me@aviv.sh>
1 parent 251f2cc commit 54ffee1

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

src/generators/__tests__/index.test.mjs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,7 @@ import { allGenerators } from '../index.mjs';
77

88
const validDependencies = Object.keys(allGenerators);
99

10-
/**
11-
* Resolves all lazy generator loaders into their actual metadata.
12-
* @returns {Promise<[string, import('../types').GeneratorMetadata][]>}
13-
*/
14-
const resolveAllGenerators = async () =>
15-
Promise.all(
10+
const allGeneratorsReaolved = await Promise.all(
1611
Object.entries(allGenerators).map(async ([key, loader]) => [
1712
key,
1813
await loader(),

0 commit comments

Comments
 (0)