Skip to content

Commit 4a0c874

Browse files
committed
feat: filter by handles
Signed-off-by: Adam Setch <[email protected]>
1 parent ecdc356 commit 4a0c874

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

src/renderer/components/filters/ReasonFilter.test.tsx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,8 @@ describe('renderer/components/filters/ReasonFilter.tsx', () => {
4444
);
4545
});
4646

47-
// click the checkbox
4847
fireEvent.click(screen.getByLabelText('Mentioned'));
4948

50-
// check if the checkbox is still unchecked
5149
expect(updateFilter).toHaveBeenCalledWith('filterReasons', 'mention', true);
5250

5351
expect(
@@ -75,10 +73,8 @@ describe('renderer/components/filters/ReasonFilter.tsx', () => {
7573
);
7674
});
7775

78-
// click the checkbox
7976
fireEvent.click(screen.getByLabelText('Mentioned'));
8077

81-
// check if the checkbox is still unchecked
8278
expect(updateFilter).toHaveBeenCalledWith('filterReasons', 'mention', true);
8379

8480
expect(

src/renderer/components/filters/UserTypeFilter.test.tsx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,8 @@ describe('renderer/components/filters/UserTypeFilter.tsx', () => {
6868
);
6969
});
7070

71-
// click the checkbox
7271
fireEvent.click(screen.getByLabelText('User'));
7372

74-
// check if the checkbox is still unchecked
7573
expect(updateFilter).toHaveBeenCalledWith('filterUserTypes', 'User', true);
7674

7775
expect(
@@ -99,10 +97,8 @@ describe('renderer/components/filters/UserTypeFilter.tsx', () => {
9997
);
10098
});
10199

102-
// click the checkbox
103100
fireEvent.click(screen.getByLabelText('Bot'));
104101

105-
// check if the checkbox is still unchecked
106102
expect(updateFilter).toHaveBeenCalledWith('filterUserTypes', 'Bot', true);
107103

108104
expect(

0 commit comments

Comments
 (0)