Skip to content

Commit d72a5c5

Browse files
committed
fix: Fix unit tests
1 parent fe1e329 commit d72a5c5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

__tests__/components/buttons/SendButton.test.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ describe("SendButton Component", () => {
143143
expect(button).toHaveStyle(`backgroundColor: ${DefaultStyles.sendButtonDisabledStyle?.backgroundColor}`);
144144

145145
// Check cursor style when button is disabled
146-
expect(button).toHaveStyle(`cursor: url(undefined), auto`);
146+
expect(button).toHaveStyle(`cursor: url("undefined"), auto`);
147147

148148
// Simulate hover (should not change color when textArea is disabled)
149149
fireEvent.mouseEnter(button);
@@ -172,7 +172,7 @@ describe("SendButton Component", () => {
172172
expect(button).toHaveStyle(`backgroundColor: ${DefaultSettings.general?.primaryColor}`);
173173

174174
// Check cursor style when button is disabled
175-
expect(button).toHaveStyle(`cursor: url(undefined), auto`);
175+
expect(button).toHaveStyle(`cursor: url("undefined"), auto`);
176176

177177
// Simulate hover (should not change color when textArea is disabled)
178178
fireEvent.mouseEnter(button);

0 commit comments

Comments
 (0)