Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Elijbet committed Jan 31, 2025
1 parent 5c11de0 commit ee12e16
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ describe("focusTrapComponent", () => {
});
});
describe("focusTrapDisabledOverride", () => {
it("should activate focus trap when focusTrapDisabledOverride returns true", () => {
it("should activate focus trap when focusTrapDisabledOverride returns false", () => {
const fakeComponent = {} as FocusTrapComponent;
fakeComponent.el = document.createElement("div");

Expand All @@ -129,7 +129,7 @@ describe("focusTrapComponent", () => {
expect(activateSpy).toHaveBeenCalledTimes(1);
});

it("should deactivate focus trap when focusTrapDisabledOverride returns true", () => {
it("should not activate focus trap when focusTrapDisabledOverride returns true", () => {
const fakeComponent = {} as FocusTrapComponent;
fakeComponent.el = document.createElement("div");

Expand Down

0 comments on commit ee12e16

Please sign in to comment.