Skip to content

Commit

Permalink
fix: tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jkoenig134 committed Sep 2, 2024
1 parent 40a63a1 commit 889a60c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/runtime/test/consumption/settings.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ describe("Settings", () => {
expect(result.value).toHaveLength(1);

const setting = await consumptionServices.settings.getSettingByKey({ key: "a-key" });
expect(setting.value).toStrictEqual({ aKey: "a-value" });
expect(setting.value.value).toStrictEqual({ aKey: "a-value" });
});

test("should upsert a setting by key", async () => {
Expand All @@ -132,7 +132,7 @@ describe("Settings", () => {
expect(result.value).toHaveLength(1);

const setting = await consumptionServices.settings.getSettingByKey({ key: "a-key" });
expect(setting.value).toStrictEqual({ aKey: "aNewValue" });
expect(setting.value.value).toStrictEqual({ aKey: "aNewValue" });
});
});

Expand Down

0 comments on commit 889a60c

Please sign in to comment.