Skip to content

Commit

Permalink
test: dynamic data spec test
Browse files Browse the repository at this point in the history
  • Loading branch information
jfmcquade committed May 9, 2024
1 parent f16d5cd commit d989d64
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,12 @@ describe("DynamicDataService", () => {
expect(data[2].id).toEqual("id0");
});

it("does not allow manual updates to row_index property", async () => {
await expectAsync(
service.update("data_list", "test_flow", "id1", { row_index: 5 })
).toBeRejectedWithError();
});

// QA
it("prevents query of non-existent data lists", async () => {
let errMsg: string;
Expand Down

0 comments on commit d989d64

Please sign in to comment.