We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
In my tests, I had an object formatted such that each property was on a new line and then the formatter did this to it 😅
M.equals(testableItemGetTransactionsResult({ results = [{ timestamp = timestamp_1; customerId = Principal.fromText("aaaaa-aa"); transaction = #topup({ icpCharged = { e8s = 1 }; cyclesToppedUpWith = 1_000_000_000_000; canisterId = Principal.fromText("aaaaa-aa") }); transactionId = "0" }, { timestamp = timestamp_1; customerId = Principal.fromText("aaaaa-aa"); transaction = #topup({ icpCharged = { e8s = 2 }; cyclesToppedUpWith = 2_000_000_000_000; canisterId = Principal.fromText("aaaaa-aa") }); transactionId = "1" }, { timestamp = timestamp_2; customerId = Principal.fromText("aaaaa-aa"); transaction = #topup({ icpCharged = { e8s = 3 }; cyclesToppedUpWith = 3_000_000_000_000; canisterId = Principal.fromText("aaaaa-aa") }); transactionId = "2" }, { timestamp = timestamp_2; customerId = Principal.fromText("renrk-eyaaa-aaaaa-aaada-cai"); transaction = #topup({ icpCharged = { e8s = 4 }; cyclesToppedUpWith = 3_000_000_000_000; canisterId = Principal.fromText("aaaaa-aa") }); transactionId = "3" }]; nextKey = null })),
Here's some more context
// within a matchers suite test( "gets all transactions in the transaction history if the timestamp bounds and limit are sufficient", TransactionHistory.getTransactions( preseededTransactionHistory, timestamp_1 / 1_000_000, timestamp_2 / 1_000_000, 10, ), M.equals(testableItemGetTransactionsResult({ results = [{ timestamp = timestamp_1; customerId = Principal.fromText("aaaaa-aa"); transaction = #topup({ icpCharged = { e8s = 1 }; cyclesToppedUpWith = 1_000_000_000_000; canisterId = Principal.fromText("aaaaa-aa") }); transactionId = "0" }, { timestamp = timestamp_1; customerId = Principal.fromText("aaaaa-aa"); transaction = #topup({ icpCharged = { e8s = 2 }; cyclesToppedUpWith = 2_000_000_000_000; canisterId = Principal.fromText("aaaaa-aa") }); transactionId = "1" }, { timestamp = timestamp_2; customerId = Principal.fromText("aaaaa-aa"); transaction = #topup({ icpCharged = { e8s = 3 }; cyclesToppedUpWith = 3_000_000_000_000; canisterId = Principal.fromText("aaaaa-aa") }); transactionId = "2" }, { timestamp = timestamp_2; customerId = Principal.fromText("renrk-eyaaa-aaaaa-aaada-cai"); transaction = #topup({ icpCharged = { e8s = 4 }; cyclesToppedUpWith = 3_000_000_000_000; canisterId = Principal.fromText("aaaaa-aa") }); transactionId = "3" }]; nextKey = null })), ),
The text was updated successfully, but these errors were encountered:
Yeah, that doesn't look right, haha. I'll take a look at this when I get a chance after ETHDenver.
Sorry, something went wrong.
No branches or pull requests
In my tests, I had an object formatted such that each property was on a new line and then the formatter did this to it 😅
Here's some more context
The text was updated successfully, but these errors were encountered: