Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
export async function evaluateFixtures(
fixturePaths: string[],
{cwd}: Options,
): Promise {
const config = getGraphQLConfig(resolve(cwd));
const projectASTCollection = await Promise.all(
getGraphQLProjects(config).map(getOperationsForProject),
);
return runForEachFixture(fixturePaths, (fixture) =>
evaluateFixture(fixture, projectASTCollection),
);
}