Skip to content

Commit

Permalink
Fix test name typo (#12)
Browse files Browse the repository at this point in the history
* Fix test name typo

* Fixed another typo

* More typos

* fix more types

---------

Co-authored-by: Matt <90358481+xbtmatt@users.noreply.github.com>
  • Loading branch information
heliuchuan and xbtmatt authored Oct 11, 2023
1 parent 1ec477f commit a2cdde8
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions tests/e2e/api/transaction_submission.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 () => {
Expand All @@ -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 () => {
Expand All @@ -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);
Expand Down

0 comments on commit a2cdde8

Please sign in to comment.