Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/bugfix/communication/disable-dro…
Browse files Browse the repository at this point in the history
…pdown-when-there-is-link' into bugfix/communication/disable-dropdown-when-there-is-link
  • Loading branch information
asliayk committed Nov 25, 2024
2 parents da26953 + d5c1d0f commit dcbd9d2
Showing 1 changed file with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,12 @@ describe('AnswerPostComponent', () => {
expect(component.showDropdown).toBe(showDropdown);
expect(component.dropdownPosition).toEqual(dropdownPosition);

jest.restoreAllMocks();
});
afterEach(() => {
jest.restoreAllMocks();
});

testCases.forEach(({ cursor, preventDefaultCalled, showDropdown, dropdownPosition }) => {
// ... test implementation ...
});
});
});

0 comments on commit dcbd9d2

Please sign in to comment.