Skip to content

Commit ed339bf

Browse files
committed
tests(predict): fix undefined TEST_HEX_COLORS references by using mockTestHexColors in usePredictClaim.test.ts
1 parent fb03514 commit ed339bf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/components/UI/Predict/hooks/usePredictClaim.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -202,8 +202,8 @@ describe('usePredictClaim', () => {
202202
},
203203
],
204204
iconName: IconName.Error,
205-
iconColor: TEST_HEX_COLORS.ERROR_DARK,
206-
backgroundColor: TEST_HEX_COLORS.ACCENT_BLUE,
205+
iconColor: mockTestHexColors.ERROR_DARK,
206+
backgroundColor: mockTestHexColors.ACCENT_BLUE,
207207
hasNoTimeout: false,
208208
linkButtonOptions: {
209209
label: strings('predict.claim.toasts.error.try_again'),

0 commit comments

Comments
 (0)