Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix test name typo #12

Merged
merged 4 commits into from
Oct 11, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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();
heliuchuan marked this conversation as resolved.
Show resolved Hide resolved
});
});
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
Loading