diff --git a/integration-tests/tests/libsql-batch.test.ts b/integration-tests/tests/libsql-batch.test.ts index fd9c61bbd..4b1883804 100644 --- a/integration-tests/tests/libsql-batch.test.ts +++ b/integration-tests/tests/libsql-batch.test.ts @@ -276,7 +276,7 @@ test('batch api example', async () => { invitedBy: null, }]); - expect(batchResponse[1]).toEqual({ columns: [], rows: [], rowsAffected: 1, lastInsertRowid: 2n }); + expect(batchResponse[1]).toEqual({ columnTypes: [], columns: [], rows: [], rowsAffected: 1, lastInsertRowid: 2n }); expect(batchResponse[2]).toEqual([ { id: 1, name: 'John', verified: 0, invitedBy: null }, @@ -311,7 +311,7 @@ test('insert + findMany', async () => { id: 1, }]); - expect(batchResponse[1]).toEqual({ columns: [], rows: [], rowsAffected: 1, lastInsertRowid: 2n }); + expect(batchResponse[1]).toEqual({ columnTypes: [], columns: [], rows: [], rowsAffected: 1, lastInsertRowid: 2n }); expect(batchResponse[2]).toEqual([ { id: 1, name: 'John', verified: 0, invitedBy: null }, @@ -353,7 +353,7 @@ test('insert + findMany + findFirst', async () => { id: 1, }]); - expect(batchResponse[1]).toEqual({ columns: [], rows: [], rowsAffected: 1, lastInsertRowid: 2n }); + expect(batchResponse[1]).toEqual({ columnTypes: [], columns: [], rows: [], rowsAffected: 1, lastInsertRowid: 2n }); expect(batchResponse[2]).toEqual([ { id: 1, name: 'John', verified: 0, invitedBy: null }, @@ -400,7 +400,7 @@ test('insert + db.all + db.get + db.values + db.run', async () => { id: 1, }]); - expect(batchResponse[1]).toEqual({ columns: [], rows: [], rowsAffected: 1, lastInsertRowid: 2n }); + expect(batchResponse[1]).toEqual({ columnTypes: [], columns: [], rows: [], rowsAffected: 1, lastInsertRowid: 2n }); expect(batchResponse[2]).toEqual([ { id: 1, name: 'John', verified: 0, invited_by: null }, @@ -451,7 +451,7 @@ test('insert + findManyWith + db.all', async () => { id: 1, }]); - expect(batchResponse[1]).toEqual({ columns: [], rows: [], rowsAffected: 1, lastInsertRowid: 2n }); + expect(batchResponse[1]).toEqual({ columnTypes: [], columns: [], rows: [], rowsAffected: 1, lastInsertRowid: 2n }); expect(batchResponse[2]).toEqual([ { id: 1, name: 'John', verified: 0, invitedBy: null }, @@ -503,7 +503,7 @@ test('insert + update + select + select partial', async () => { id: 1, }]); - expect(batchResponse[1]).toEqual({ columns: [], rows: [], rowsAffected: 1, lastInsertRowid: 1n }); + expect(batchResponse[1]).toEqual({ columnTypes: [], columns: [], rows: [], rowsAffected: 1, lastInsertRowid: 1n }); expect(batchResponse[2]).toEqual([ { id: 1, name: 'Dan', verified: 0, invitedBy: null }, @@ -553,7 +553,7 @@ test('insert + delete + select + select partial', async () => { id: 1, }]); - expect(batchResponse[1]).toEqual({ columns: [], rows: [], rowsAffected: 1, lastInsertRowid: 2n }); + expect(batchResponse[1]).toEqual({ columnTypes: [], columns: [], rows: [], rowsAffected: 1, lastInsertRowid: 2n }); expect(batchResponse[2]).toEqual([ { id: 1, invitedBy: null },