Skip to content

Commit 0557752

Browse files
committed
test: update snapshots
1 parent a9c3629 commit 0557752

File tree

1 file changed

+40
-2
lines changed

1 file changed

+40
-2
lines changed

test/basic.ts

Lines changed: 40 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1084,7 +1084,26 @@ describe("insert, update, delete with count: 'exact'", () => {
10841084
.insert([{ id: 100 }, { slug: 'test-slug' }], { defaultToNull: false })
10851085
.select()
10861086
.rollback()
1087-
expect(res).toMatchInlineSnapshot()
1087+
expect(res).toMatchInlineSnapshot(`
1088+
Object {
1089+
"count": null,
1090+
"data": Array [
1091+
Object {
1092+
"data": null,
1093+
"id": 100,
1094+
"slug": null,
1095+
},
1096+
Object {
1097+
"data": null,
1098+
"id": 4,
1099+
"slug": "test-slug",
1100+
},
1101+
],
1102+
"error": null,
1103+
"status": 201,
1104+
"statusText": "Created",
1105+
}
1106+
`)
10881107
})
10891108

10901109
test('bulk upsert with column defaults', async () => {
@@ -1093,7 +1112,26 @@ describe("insert, update, delete with count: 'exact'", () => {
10931112
.upsert([{ id: 1 }, { slug: 'test-slug' }], { defaultToNull: false })
10941113
.select()
10951114
.rollback()
1096-
expect(res).toMatchInlineSnapshot()
1115+
expect(res).toMatchInlineSnapshot(`
1116+
Object {
1117+
"count": null,
1118+
"data": Array [
1119+
Object {
1120+
"data": null,
1121+
"id": 1,
1122+
"slug": null,
1123+
},
1124+
Object {
1125+
"data": null,
1126+
"id": 6,
1127+
"slug": "test-slug",
1128+
},
1129+
],
1130+
"error": null,
1131+
"status": 201,
1132+
"statusText": "Created",
1133+
}
1134+
`)
10971135
})
10981136

10991137
test("update with count: 'exact'", async () => {

0 commit comments

Comments
 (0)