Skip to content

Commit

Permalink
Merge pull request woltsu#24 from mindler-olli/main
Browse files Browse the repository at this point in the history
update tests
  • Loading branch information
woltsu authored Apr 10, 2024
2 parents a7e5a74 + d7ee61f commit eba40ca
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,19 +48,6 @@ exports[`UpdateItemQueryBuilder > handles update item query with SET statements
}
`;

exports[`UpdateItemQueryBuilder > handles update item query with condition expressions 2`] = `
{
"dataTimestamp": 2,
"someSet": Set {
"1",
"2",
"3",
},
"somethingElse": 0,
"userId": "1",
}
`;

exports[`UpdateItemQueryBuilder > handles update item query with multiple different operations 1`] = `
{
"dataTimestamp": 2,
Expand Down
7 changes: 0 additions & 7 deletions src/queryBuilders/updateItemQueryBuilder.integration.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -178,12 +178,5 @@ describe("UpdateItemQueryBuilder", () => {
).rejects.toMatchInlineSnapshot(
`[ConditionalCheckFailedException: The conditional request failed]`
);

const foundItem = await tsynamoClient
.getItem("myTable")
.keys({ userId: "1", dataTimestamp: 2 })
.execute();

expect(foundItem).toMatchSnapshot();
});
});

0 comments on commit eba40ca

Please sign in to comment.