Skip to content

Commit b993f06

Browse files
committed
test(sql): annotate rows in null array item transform test
1 parent c9eeb11 commit b993f06

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎packages/effect/test/sql/Statement.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ describe("Statement", () => {
2121
})
2222

2323
it("keeps null and scalar items in transformed arrays", () => {
24-
const rows = [{ posts: [null], tags: [{ tag_name: "admin" }, null, 1] }]
24+
const rows: Array<Record<string, unknown>> = [{ posts: [null], tags: [{ tag_name: "admin" }, null, 1] }]
2525
assert.deepStrictEqual(Statement.defaultTransforms(Str.snakeToCamel).array(rows), [
2626
{ posts: [null], tags: [{ tagName: "admin" }, null, 1] }
2727
])

0 commit comments

Comments
 (0)