Skip to content

Commit 396ca3d

Browse files
committed
update tests
1 parent 0148b67 commit 396ca3d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/runtime/test/client-api/group-by.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ describe.each(createClientSpecs(PG_DB_NAME))('Client groupBy tests', ({ createCl
269269
age: 10,
270270
},
271271
}),
272-
).rejects.toThrow(/must be in \\"by\\"/);
272+
).rejects.toThrow(/must be in "by"/);
273273
});
274274

275275
it('complains about fields in orderBy that are not in by', async () => {
@@ -280,6 +280,6 @@ describe.each(createClientSpecs(PG_DB_NAME))('Client groupBy tests', ({ createCl
280280
age: 'asc',
281281
},
282282
}),
283-
).rejects.toThrow(/must be in \\"by\\"/);
283+
).rejects.toThrow(/must be in "by"/);
284284
});
285285
});

packages/runtime/test/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ export async function createTestClient<Schema extends SchemaDef>(
152152
fs.writeFileSync(path.resolve(workDir!, 'schema.prisma'), prismaSchemaText);
153153
execSync('npx prisma db push --schema ./schema.prisma --skip-generate --force-reset', {
154154
cwd: workDir,
155-
stdio: 'inherit',
155+
stdio: 'ignore',
156156
});
157157
} else {
158158
if (provider === 'postgresql') {

0 commit comments

Comments
 (0)