Skip to content

Commit c6e02f2

Browse files
committed
fix tests
1 parent a70d4a5 commit c6e02f2

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

tests/e2e/orm/client-api/name-mapping.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ describe('Name mapping tests', () => {
121121
.selectFrom('User')
122122
.select(['email'])
123123
.whereRef('email', '=', 'email')
124-
.orderBy(['email'])
124+
.orderBy('email')
125125
.executeTakeFirst(),
126126
).resolves.toMatchObject({
127127

tests/e2e/orm/validation/toplevel.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ describe('Toplevel field validation tests', () => {
2121
await db.foo.create({ data: { id: 100 } });
2222

2323
for (const action of ['create', 'update', 'upsert', 'updateMany']) {
24-
console.log(`Testing action: ${action}`);
2524
const _t =
2625
action === 'create'
2726
? (data: any) => db.foo.create({ data })

tests/regression/test/issue-204/regression.test.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@ import { type Configuration, ShirtColor } from './models';
33

44
it('tests issue 204', () => {
55
const config: Configuration = { teamColors: [ShirtColor.Black, ShirtColor.Blue] };
6-
console.log(config.teamColors?.[0]);
6+
check(config.teamColors?.[0]);
77
const config1: Configuration = {};
8-
console.log(config1);
8+
check(config1);
99
});
10+
11+
function check(_arg: unknown) {}

tests/regression/test/v2-migrated/issue-1271.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,6 @@ model AnotherTest {
123123
locale: 'locale3',
124124
},
125125
});
126-
console.log('test3 created:', test3);
127126
const updated2 = await db.linkingTable.update({
128127
where: {
129128
test_id_another_test_id: {

0 commit comments

Comments
 (0)