Skip to content

Commit

Permalink
Fixed test.
Browse files Browse the repository at this point in the history
  • Loading branch information
MrCoder committed Nov 2, 2024
1 parent 08e45e9 commit 5900a50
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ describe("Creation", () => {
expect(vm.signature).toBe("«create»");
expect(vm.assignee).toBe("a");
expect(vm.distance2).toStrictEqual(expect.any(Function));
expect(vm.interactionWidth).toBe(84);
expect(vm.interactionWidth).toBe(83);
expect(vm.rightToLeft).toBeFalsy();
});

Expand All @@ -55,7 +55,7 @@ describe("Creation", () => {
const vm = creationWrapper.vm as any;
console.log(creationWrapper);
expect(vm.rightToLeft).toBeTruthy();
expect(vm.interactionWidth).toBe(120);
expect(vm.interactionWidth).toBe(119);
});

it("right to left within alt fragment", async () => {
Expand All @@ -73,6 +73,6 @@ describe("Creation", () => {
);
const vm = creationWrapper.vm as any;
expect(vm.rightToLeft).toBeTruthy();
expect(vm.interactionWidth).toBe(120);
expect(vm.interactionWidth).toBe(119);
});
});

0 comments on commit 5900a50

Please sign in to comment.