Skip to content

Commit

Permalink
fix: update the string type to number to match with BE
Browse files Browse the repository at this point in the history
  • Loading branch information
amam-deriv committed Aug 22, 2024
1 parent ff2efca commit 4e6509f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/hooks/custom-hooks/__tests__/useOAuth2Enabled.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ describe('useOAuth2Enabled', () => {
const emulateAppIdAvailable = [
{},
{
enabled_for: ['111'],
enabled_for: [111],
},
];
(useGrowthbookGetFeatureValue as jest.Mock).mockReturnValue([emulateAppIdAvailable, true]);
Expand All @@ -28,7 +28,7 @@ describe('useOAuth2Enabled', () => {
const emulateAppIdAvailable = [
{},
{
enabled_for: ['112'],
enabled_for: [112],
},
];
(useGrowthbookGetFeatureValue as jest.Mock).mockReturnValue([emulateAppIdAvailable, true]);
Expand Down

0 comments on commit 4e6509f

Please sign in to comment.