Skip to content

Commit

Permalink
Merge pull request #3115 from drizzle-team/drizzle-kit/fixes-console-…
Browse files Browse the repository at this point in the history
…logs

[Drizzle-kit]: removed console logs from tests
  • Loading branch information
AndriiSherman authored Oct 14, 2024
2 parents 6764bd8 + 3fdf1b6 commit 8c3e1b5
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion drizzle-kit/tests/pg-enums.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -651,7 +651,6 @@ test('shuffle enum values', async () => {
`ALTER TABLE "new_schema"."table" ALTER COLUMN "column" SET DATA TYPE "public"."enum" USING "column"::"public"."enum";`,
);

console.log('statements: ', statements);
expect(statements.length).toBe(1);
expect(statements[0]).toStrictEqual({
columnsWithEnum: [
Expand Down
3 changes: 0 additions & 3 deletions drizzle-kit/tests/schemaDiffer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -614,15 +614,12 @@ export const diffTestSchemasPush = async (
const shouldRunApply = sqlStatementsToRun.runApply === undefined ? true : sqlStatementsToRun.runApply;

for (const st of sqlStatementsToRun.before ?? []) {
console.log(st);
await client.query(st);
}
console.log('here');

if (shouldRunApply) {
const res = await applyPgDiffs(left, casing);
for (const st of res.sqlStatements) {
console.log(st);
await client.query(st);
}
}
Expand Down

0 comments on commit 8c3e1b5

Please sign in to comment.