Skip to content

Commit 35ee9f9

Browse files
committed
test: fix issues with test
1 parent e3adb9a commit 35ee9f9

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

package/src/components/MessageMenu/__tests__/ReactionButton.test.tsx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,7 @@ describe('ReactionButton', () => {
3434
);
3535

3636
// Check if the unselected pathFill color is rendered by the mock Icon
37-
expect(
38-
getByText(defaultTheme.messageMenu.reactionButton.unfilledColor.toString()),
39-
).toBeTruthy();
37+
expect(getByText(defaultTheme.colors.grey.toString())).toBeTruthy();
4038
});
4139

4240
it('should call onPress function with the correct reaction type when pressed', () => {
@@ -72,6 +70,6 @@ describe('ReactionButton', () => {
7270
</ThemeProvider>,
7371
);
7472

75-
expect(getByText(defaultTheme.messageMenu.reactionButton.filledColor.toString())).toBeTruthy();
73+
expect(getByText(defaultTheme.colors.accent_blue.toString())).toBeTruthy();
7674
});
7775
});

0 commit comments

Comments
 (0)