Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
danielailie committed Nov 25, 2024
1 parent 2d08f19 commit 03ab27b
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/abi/resultsParser.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { ContractQueryResponse } from "../networkProviders";
import { b64TopicsToBytes, loadAbiRegistry } from "../testutils";
import { TransactionEvent } from "../transactionEvents";
import { TransactionLogs } from "../transactionLogs";
import { TransactionOnNetwork } from "../transactions";
import { TransactionOnNetwork } from "../transactionOnNetwork";
import { SmartContractResult } from "../transactionsOutcomeParsers";
import { ArgSerializer } from "./argSerializer";
import { ResultsParser } from "./resultsParser";
Expand Down
2 changes: 1 addition & 1 deletion src/networkProviders/providers.dev.net.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { assert } from "chai";
import { Address } from "../address";
import { b64ToHex } from "../testutils";
import { MockQuery } from "../testutils/dummyQuery";
import { TransactionOnNetwork } from "../transactions";
import { TransactionOnNetwork } from "../transactionOnNetwork";
import { ApiNetworkProvider } from "./apiNetworkProvider";
import { INetworkProvider, ITransactionNext } from "./interface";
import { ProxyNetworkProvider } from "./proxyNetworkProvider";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { Address } from "../address";
import { b64TopicsToBytes, loadAbiRegistry } from "../testutils";
import { TransactionEvent } from "../transactionEvents";
import { TransactionLogs } from "../transactionLogs";
import { TransactionOnNetwork } from "../transactions";
import { TransactionOnNetwork } from "../transactionOnNetwork";
import { SmartContractResult } from "../transactionsOutcomeParsers";
import { SmartContractTransactionsOutcomeParser } from "./smartContractTransactionsOutcomeParser";

Expand Down
2 changes: 1 addition & 1 deletion src/testutils/contractController.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Interaction, ResultsParser, TypedOutcomeBundle, UntypedOutcomeBundle } from "../abi";
import { Logger } from "../logger";
import { Transaction } from "../transaction";
import { TransactionOnNetwork } from "../transactions";
import { TransactionOnNetwork } from "../transactionOnNetwork";
import { TransactionWatcher } from "../transactionWatcher";
import { INetworkProvider } from "./networkProviders";

Expand Down
2 changes: 1 addition & 1 deletion src/testutils/networkProviders.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { IAccountOnNetwork, IContractQueryResponse, INetworkConfig, ITransaction
import { ApiNetworkProvider, ProxyNetworkProvider } from "../networkProviders";

import { Transaction } from "../transaction";
import { TransactionOnNetwork } from "../transactions";
import { TransactionOnNetwork } from "../transactionOnNetwork";

export function createLocalnetProvider(): INetworkProvider {
return new ProxyNetworkProvider("http://localhost:7950", { timeout: 5000 });
Expand Down
2 changes: 1 addition & 1 deletion src/transactionWatcher.spec.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { assert } from "chai";
import { MarkCompleted, MockNetworkProvider, Wait } from "./testutils";
import { TransactionHash } from "./transaction";
import { TransactionOnNetwork } from "./transactions";
import { TransactionOnNetwork } from "./transactionOnNetwork";
import { TransactionStatus } from "./transactionStatus";
import { TransactionWatcher } from "./transactionWatcher";

Expand Down
2 changes: 1 addition & 1 deletion src/transactionsOutcomeParsers/resources.spec.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { assert } from "chai";
import { TransactionEvent } from "../transactionEvents";
import { TransactionLogs } from "../transactionLogs";
import { TransactionOnNetwork } from "../transactions";
import { TransactionOnNetwork } from "../transactionOnNetwork";
import { findEventsByFirstTopic, findEventsByIdentifier, SmartContractResult } from "./resources";

describe("test resources", () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { Address } from "../address";
import { b64TopicsToBytes, loadAbiRegistry } from "../testutils";
import { TransactionEvent } from "../transactionEvents";
import { TransactionLogs } from "../transactionLogs";
import { TransactionOnNetwork } from "../transactions";
import { TransactionOnNetwork } from "../transactionOnNetwork";
import { findEventsByFirstTopic, SmartContractResult } from "./resources";
import { TransactionEventsParser } from "./transactionEventsParser";

Expand Down

0 comments on commit 03ab27b

Please sign in to comment.