Skip to content

Commit b435ce4

Browse files
clarkgscotttrinh
andauthored
Update integration-tests/lts/insert.test.ts
with @scotttrinh 's suggestion Co-authored-by: Scott Trinh <[email protected]>
1 parent 0cc1bf4 commit b435ce4

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

integration-tests/lts/insert.test.ts

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -152,16 +152,7 @@ describe("insert", () => {
152152

153153
const query = e.with(
154154
[dep], // dependency used inside the insert expression
155-
e
156-
.insert(e.Movie, {
157-
title: "WithUnlessConflict – test",
158-
characters: e.select(dep, () => ({
159-
"@character_name": "Peter Quill",
160-
})),
161-
})
162-
.unlessConflict((movie) => ({
163-
on: movie.title,
164-
})),
155+
e.select(e.int16(42)),
165156
);
166157

167158
// The presence of `.unlessConflict()` should make the result AtMostOne

0 commit comments

Comments
 (0)