Skip to content

Commit f0fa366

Browse files
committed
Fix unit tests
1 parent 52ff091 commit f0fa366

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

app/scripts/lib/transaction/util.test.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,15 @@ import {
1616
addTransaction,
1717
} from './util';
1818

19+
jest.mock('uuid', () => {
20+
const actual = jest.requireActual('uuid');
21+
22+
return {
23+
...actual,
24+
v4: jest.fn(),
25+
};
26+
});
27+
1928
const TRANSACTION_PARAMS_MOCK: TransactionParams = {
2029
from: '0x1',
2130
};

0 commit comments

Comments
 (0)