Skip to content

Commit

Permalink
Update test
Browse files Browse the repository at this point in the history
  • Loading branch information
Ariflo committed Sep 21, 2023
1 parent 90f1b1e commit dc19c87
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ test('Creates a `DEPRECATION_NOTICE` warning with `useInstead` suffix', async ()
warningAssertions(
warning,
'DEPRECATION_NOTICE',
'`test()` will be removed from `magic-sdk` in version `v999`. Use `test2()` instead.',
'`test()` will be removed from `magic-sdk` in version `v999`. Use `test2()` instead .',
);
});

Expand All @@ -130,12 +130,12 @@ test('Creates a `DEPRECATION_NOTICE` warning with `useInstead` containing "Dedic
'@magic-sdk/react-native-bare': 'v888',
'@magic-sdk/react-native-expo': 'v777',
},
useInstead: 'useDedicatedWallet()',
useInstead: 'Dedicated Wallet',
});

warningAssertions(
warning,
'DEPRECATION_NOTICE',
'`test()` will be removed from `magic-sdk` in version `v999`. Use `useDedicatedWallet()` instead to prevent disruption of the wallet service.',
'`test()` will be removed from `magic-sdk` in version `v999`. Use `Dedicated Wallet` instead to prevent disruption of the wallet service.',
);
});

0 comments on commit dc19c87

Please sign in to comment.