Skip to content

Commit

Permalink
fix(e2e tests): remove unused modules
Browse files Browse the repository at this point in the history
  • Loading branch information
SantiagoPittella committed Apr 15, 2024
1 parent d3916ed commit 2c98553
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion packages/api/src/api/token/token.module.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Module } from "@nestjs/common";
import { TokenController } from "./token.controller";
import { TokenModule } from "../../token/token.module";
import { HttpModule, HttpService } from "@nestjs/axios";
import { HttpModule } from "@nestjs/axios";

@Module({
imports: [TokenModule, HttpModule],
Expand Down
2 changes: 1 addition & 1 deletion packages/data-fetcher/src/token/token.service.spec.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { mock } from "jest-mock-extended";
import { types, utils } from "zksync-web3";
import { types } from "zksync-web3";
import { BASE_TOKEN_ADDRESS, ETH_L1_ADDRESS } from "../constants";
import { Test, TestingModule } from "@nestjs/testing";
import { Logger } from "@nestjs/common";
Expand Down
2 changes: 1 addition & 1 deletion packages/data-fetcher/src/token/token.service.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { types, utils } from "zksync-web3";
import { types } from "zksync-web3";
import { Injectable, Logger } from "@nestjs/common";
import { InjectMetric } from "@willsoto/nestjs-prometheus";
import { Histogram } from "prom-client";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { BigNumber } from "ethers";
import { types, utils } from "zksync-web3";
import { types } from "zksync-web3";
import { mock } from "jest-mock-extended";
import { ZERO_HASH_64 } from "../../../constants";
import { TransferType } from "../../transfer.service";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { BigNumber } from "ethers";
import { types, utils } from "zksync-web3";
import { types } from "zksync-web3";
import { mock } from "jest-mock-extended";
import { TransferType } from "../../transfer.service";
import { TokenType } from "../../../token/token.service";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { utils, types } from "zksync-web3";
import { types } from "zksync-web3";
import { Transfer } from "../../interfaces/transfer.interface";
import { ExtractTransferHandler } from "../../interfaces/extractTransferHandler.interface";
import { TransferType } from "../../transfer.service";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { BigNumber } from "ethers";
import { types, utils } from "zksync-web3";
import { types } from "zksync-web3";
import { mock } from "jest-mock-extended";
import { TransferType } from "../../transfer.service";
import { TokenType } from "../../../token/token.service";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { BigNumber } from "ethers";
import { types, utils } from "zksync-web3";
import { types } from "zksync-web3";
import { mock } from "jest-mock-extended";
import { TransferType } from "../../transfer.service";
import { TokenType } from "../../../token/token.service";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { utils, types } from "zksync-web3";
import { types } from "zksync-web3";
import { Transfer } from "../../interfaces/transfer.interface";
import { ExtractTransferHandler } from "../../interfaces/extractTransferHandler.interface";
import { TransferType } from "../../transfer.service";
Expand Down
2 changes: 1 addition & 1 deletion packages/data-fetcher/src/utils/isInternalTransaction.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { types, utils } from "zksync-web3";
import { types } from "zksync-web3";
import { Transfer } from "../transfer/interfaces/transfer.interface";
import { TransferType } from "../transfer/transfer.service";
import { BASE_TOKEN_ADDRESS } from "../constants";
Expand Down
2 changes: 1 addition & 1 deletion packages/worker/src/blockchain/blockchain.service.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { Logger } from "@nestjs/common";
import { ConfigService } from "@nestjs/config";
import * as timersPromises from "timers/promises";
import { BlockchainService, BridgeAddresses } from "./blockchain.service";
import { JsonRpcProviderExtended, JsonRpcProviderBase } from "../rpcProvider";
import { JsonRpcProviderBase } from "../rpcProvider";
import { RetryableContract } from "./retryableContract";

jest.mock("./retryableContract");
Expand Down

0 comments on commit 2c98553

Please sign in to comment.