Skip to content

Commit 993f43f

Browse files
author
Marcin Mazurek
committed
[DDW-940] Fix tests
1 parent b617397 commit 993f43f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

source/renderer/app/components/wallet/WalletSendForm.spec.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,12 @@ describe('wallet/Wallet Send Form', () => {
2828
const currencyMaxFractionalDigits = 6;
2929

3030
function createAssets(index: number) {
31-
const id = `${faker.random.uuid()}:${index}`;
31+
const id = `${faker.datatype.uuid()}:${index}`;
3232
return {
3333
policyId: id,
3434
assetName: faker.internet.domainWord(),
3535
uniqueId: id,
36-
fingerprint: faker.random.uuid(),
36+
fingerprint: faker.datatype.uuid(),
3737
quantity: new BigNumber(faker.finance.amount()),
3838
decimals: 0,
3939
recommendedDecimals: null,

storybook/stories/_support/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ export const generateTransaction = (
188188
metadata: TransactionMetadata = EXAMPLE_METADATA
189189
) =>
190190
new WalletTransaction({
191-
id: faker.random.uuid(),
191+
id: faker.datatype.uuid(),
192192
title: '',
193193
type,
194194
amount: amount.plus(fee),

0 commit comments

Comments
 (0)