Skip to content

Commit

Permalink
Attempt to add test for wanted functionality
Browse files Browse the repository at this point in the history
  • Loading branch information
CarsonF committed Mar 1, 2024
1 parent 18f0351 commit f2a85e0
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions integration-tests/lts/insert.test.ts
Expand Up @@ -391,6 +391,16 @@ describe("insert", () => {
await query.run(client);
});

test("readonly arrays for array and multi properties", async () => {
const items: readonly string[] = ["asdf"];
const query = e.insert(e.Bag, {
stringsMulti: items,
stringMultiArr: items,
stringsArr: items,
});
await query.run(client);
});

test("insert named tuple as shape", async () => {
const query = e.params(
{
Expand Down

0 comments on commit f2a85e0

Please sign in to comment.