We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 17f49b6 commit 7611423Copy full SHA for 7611423
1 file changed
tests/e2e/UserInformation.test.ts
@@ -10,6 +10,7 @@ import {
10
extraData,
11
parametrizedTLNetworkConfig,
12
requestEth,
13
+ rpcProvider,
14
wait
15
} from '../Fixtures'
16
@@ -99,7 +100,8 @@ describe('e2e', () => {
99
100
user2.address,
101
bigTrustlineValue / 2
102
)
- await tl1.payment.confirm(transfer1.rawTx)
103
+ const txHash = await tl1.payment.confirm(transfer1.rawTx)
104
+ await rpcProvider.waitForTransaction(txHash, 1)
105
await wait()
106
107
// apply accrued userInformation to trustline via transfer
@@ -108,7 +110,8 @@ describe('e2e', () => {
108
110
user1.address,
109
111
1
112
- await tl2.payment.confirm(transfer2.rawTx)
113
+ const txHash1 = await tl2.payment.confirm(transfer2.rawTx)
114
+ await rpcProvider.waitForTransaction(txHash1, 1)
115
116
})
117
0 commit comments