From a2cdde8453455bd301361d9f1eca62e14a04983c Mon Sep 17 00:00:00 2001 From: Oliver He Date: Wed, 11 Oct 2023 10:14:59 -0400 Subject: [PATCH] Fix test name typo (#12) * Fix test name typo * Fixed another typo * More typos * fix more types --------- Co-authored-by: Matt <90358481+xbtmatt@users.noreply.github.com> --- tests/e2e/api/transaction_submission.test.ts | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/tests/e2e/api/transaction_submission.test.ts b/tests/e2e/api/transaction_submission.test.ts index 2c303d356..34aa7fb4b 100644 --- a/tests/e2e/api/transaction_submission.test.ts +++ b/tests/e2e/api/transaction_submission.test.ts @@ -39,9 +39,9 @@ describe("transaction submission", () => { }); expect(rawTxn.rawTransaction instanceof Uint8Array).toBeTruthy(); const deserializer = new Deserializer(rawTxn.rawTransaction); - const desirializedTransaction = RawTransaction.deserialize(deserializer); - expect(desirializedTransaction instanceof RawTransaction).toBeTruthy(); - expect(desirializedTransaction.payload instanceof TransactionPayloadScript).toBeTruthy(); + const deserializedTransaction = RawTransaction.deserialize(deserializer); + expect(deserializedTransaction instanceof RawTransaction).toBeTruthy(); + expect(deserializedTransaction.payload instanceof TransactionPayloadScript).toBeTruthy(); }); test("it generates a multi sig transaction", async () => { @@ -64,9 +64,9 @@ describe("transaction submission", () => { }); expect(rawTxn.rawTransaction instanceof Uint8Array).toBeTruthy(); const deserializer = new Deserializer(rawTxn.rawTransaction); - const desirializedTransaction = RawTransaction.deserialize(deserializer); - expect(desirializedTransaction instanceof RawTransaction).toBeTruthy(); - expect(desirializedTransaction.payload instanceof TransactionPayloadMultisig).toBeTruthy(); + const deserializedTransaction = RawTransaction.deserialize(deserializer); + expect(deserializedTransaction instanceof RawTransaction).toBeTruthy(); + expect(deserializedTransaction.payload instanceof TransactionPayloadMultisig).toBeTruthy(); }); test("it generates an entry function transaction", async () => { @@ -88,12 +88,12 @@ describe("transaction submission", () => { }); expect(rawTxn.rawTransaction instanceof Uint8Array).toBeTruthy(); const deserializer = new Deserializer(rawTxn.rawTransaction); - const desirializedTransaction = RawTransaction.deserialize(deserializer); - expect(desirializedTransaction instanceof RawTransaction).toBeTruthy(); - expect(desirializedTransaction.payload instanceof TransactionPayloadEntryFunction).toBeTruthy(); + const deserializedTransaction = RawTransaction.deserialize(deserializer); + expect(deserializedTransaction instanceof RawTransaction).toBeTruthy(); + expect(deserializedTransaction.payload instanceof TransactionPayloadEntryFunction).toBeTruthy(); }); }); - describe("simultaeTransaction", () => { + describe("simulateTransaction", () => { test("it simulates a multi agent script transaction", async () => { const config = new AptosConfig({ network: Network.DEVNET }); const aptos = new Aptos(config);