-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
817 additions
and
959 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
46 changes: 46 additions & 0 deletions
46
src/services/blockchain/__tests__/__snapshots__/transaction-state-machine.test.ts.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`TransactionStateMachine with mocks get block fails due to timeout 1`] = ` | ||
Transaction { | ||
"blockNumber": 1n, | ||
"blockTimestamp": 0n, | ||
"chain": "test", | ||
"txHash": "0xdeadbeef", | ||
} | ||
`; | ||
|
||
exports[`TransactionStateMachine with mocks no errors encountered 1`] = ` | ||
Transaction { | ||
"blockNumber": 1n, | ||
"blockTimestamp": 0n, | ||
"chain": "test", | ||
"txHash": "0xdeadbeef", | ||
} | ||
`; | ||
|
||
exports[`TransactionStateMachine with mocks simulate fails due to timeout 1`] = ` | ||
Transaction { | ||
"blockNumber": 1n, | ||
"blockTimestamp": 0n, | ||
"chain": "test", | ||
"txHash": "0xdeadbeef", | ||
} | ||
`; | ||
|
||
exports[`TransactionStateMachine with mocks transaction receipt fails due to timeout 1`] = ` | ||
Transaction { | ||
"blockNumber": 1n, | ||
"blockTimestamp": 0n, | ||
"chain": "test", | ||
"txHash": "0xdeadbeef", | ||
} | ||
`; | ||
|
||
exports[`TransactionStateMachine with mocks write fails due to timeout 1`] = ` | ||
Transaction { | ||
"blockNumber": 1n, | ||
"blockTimestamp": 0n, | ||
"chain": "test", | ||
"txHash": "0xdeadbeef", | ||
} | ||
`; |
Oops, something went wrong.