Skip to content

Commit

Permalink
Fix for the dictionaries unit tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
TPReal committed Nov 2, 2023
1 parent ccecccb commit cc1060f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions resources/js/data-access/memo-api/dictionaries.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -150,10 +150,10 @@ describe("Dictionaries", () => {
test("get", () => {
expect(dictionaries.get("d1")?.id).toEqual("d1");
expect(dictionaries.get("d3")?.id).toEqual("d3");
expect(dictionaries.get("d5")).toBeUndefined();
expect(() => dictionaries.get("d5")).toThrow("not found");
expect(dictionaries.get("dict1-global")?.id).toEqual("d1");
expect(dictionaries.get("dict2-fac1")).toBeUndefined();
expect(dictionaries.get("+dict2-fac1")).toBeUndefined();
expect(() => dictionaries.get("dict2-fac1")).toThrow("not found");
expect(() => dictionaries.get("+dict2-fac1")).toThrow("not found");
});

test("positions", () => {
Expand Down

0 comments on commit cc1060f

Please sign in to comment.