Skip to content

Commit

Permalink
Fix an error
Browse files Browse the repository at this point in the history
  • Loading branch information
emmatown committed May 16, 2021
1 parent 1be79a6 commit 8deb8ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/test-utils/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ async function setupFromConfig({
});

const prismaClient = await (async () => {
const { keystone, graphQLSchema } = createSystem(config);
const { graphQLSchema } = createSystem(config);
const artifacts = await getCommittedArtifacts(graphQLSchema, config);
const hash = hashPrismaSchema(artifacts.prisma);
if (provider === 'postgresql') {
Expand All @@ -59,7 +59,7 @@ async function setupFromConfig({
alreadyGeneratedProjects.add(hash);
fs.mkdirSync(cwd, { recursive: true });
await writeCommittedArtifacts(artifacts, cwd);
await generateNodeModulesArtifacts(graphQLSchema, keystone, config, cwd);
await generateNodeModulesArtifacts(graphQLSchema, config, cwd);
}
await pushPrismaSchemaToDatabase(
config.db.url,
Expand Down

0 comments on commit 8deb8ec

Please sign in to comment.