There was an error while loading. Please reload this page.
1 parent 251f2cc commit 54ffee1Copy full SHA for 54ffee1
1 file changed
src/generators/__tests__/index.test.mjs
@@ -7,12 +7,7 @@ import { allGenerators } from '../index.mjs';
7
8
const validDependencies = Object.keys(allGenerators);
9
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(
+const allGeneratorsReaolved = await Promise.all(
16
Object.entries(allGenerators).map(async ([key, loader]) => [
17
key,
18
await loader(),
0 commit comments