Skip to content

Commit

Permalink
remove unnecessary import paths on test code
Browse files Browse the repository at this point in the history
  • Loading branch information
SebastienGllmt committed May 18, 2024
1 parent b3ba824 commit 67b4568
Show file tree
Hide file tree
Showing 7 changed files with 24 additions and 24 deletions.
6 changes: 3 additions & 3 deletions webserver/examples/tests/addressUsed.test.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { expect } from "chai";
import { Errors } from "@dcspark/carp-client/shared/errors";
import { Routes } from "@dcspark/carp-client/shared/routes";
import { Errors } from "@dcspark/carp-client";
import { Routes } from "@dcspark/carp-client";
import { StatusCodes } from "http-status-codes";
import { bech32 } from "bech32";
import Cip5 from "@dcspark/cip5-js";
import { query, getErrorResponse } from "@dcspark/carp-client/client/src/index";
import { query, getErrorResponse } from "@dcspark/carp-client";

const urlBase = "http://localhost:3000";

Expand Down
6 changes: 3 additions & 3 deletions webserver/examples/tests/blockLatest.test.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { expect } from "chai";
import { Errors } from "@dcspark/carp-client/shared/errors";
import { Routes } from "@dcspark/carp-client/shared/routes";
import { Errors } from "@dcspark/carp-client";
import { Routes } from "@dcspark/carp-client";
import { StatusCodes } from "http-status-codes";
import { query, getErrorResponse } from "@dcspark/carp-client/client/src/index";
import { query, getErrorResponse } from "@dcspark/carp-client";

const urlBase = "http://localhost:3000";

Expand Down
8 changes: 4 additions & 4 deletions webserver/examples/tests/credentialAddresses.test.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { expect } from "chai";
import { Errors } from "@dcspark/carp-client/shared/errors";
import { Routes } from "@dcspark/carp-client/shared/routes";
import { Errors } from "@dcspark/carp-client";
import { Routes } from "@dcspark/carp-client";
import { StatusCodes } from "http-status-codes";
import { query, getErrorResponse } from "@dcspark/carp-client/client/src/index";
import { CREDENTIAL_LIMIT } from "@dcspark/carp-client/shared/constants";
import { query, getErrorResponse } from "@dcspark/carp-client";
import { CREDENTIAL_LIMIT } from "@dcspark/carp-client";

const urlBase = "http://localhost:3000";

Expand Down
8 changes: 4 additions & 4 deletions webserver/examples/tests/example.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import { Routes } from "@dcspark/carp-client/shared/routes";
import { Routes } from "@dcspark/carp-client";
import {
nftCborToJson,
paginatedMetadataNft,
paginatedTransactionHistory,
} from "@dcspark/carp-client/client/src/paginated";
import { query } from "@dcspark/carp-client/client/src/index";
} from "@dcspark/carp-client";
import { query } from "@dcspark/carp-client";
import cml from "@dcspark/cardano-multiplatform-lib-nodejs";
import type { TransactionHistoryResponse } from "@dcspark/carp-client/shared/models/TransactionHistory";
import type { TransactionHistoryResponse } from "@dcspark/carp-client";

const urlBase = "http://localhost:3000";

Expand Down
4 changes: 2 additions & 2 deletions webserver/examples/tests/metadataNft.test.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { expect } from "chai";
import { Routes } from "@dcspark/carp-client/shared/routes";
import { query } from "@dcspark/carp-client/client/src/index";
import { Routes } from "@dcspark/carp-client";
import { query } from "@dcspark/carp-client";
import cml from "@dcspark/cardano-multiplatform-lib-nodejs";
import merge from "lodash/merge";

Expand Down
10 changes: 5 additions & 5 deletions webserver/examples/tests/transactionHistory.test.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import { expect } from "chai";
import { Errors } from "@dcspark/carp-client/shared/errors";
import { Routes } from "@dcspark/carp-client/shared/routes";
import { Errors } from "@dcspark/carp-client";
import { Routes } from "@dcspark/carp-client";
import { StatusCodes } from "http-status-codes";
import sortBy from "lodash/sortBy";
import { bech32 } from "bech32";
import Cip5 from "@dcspark/cip5-js";
import { RelationFilterType } from "@dcspark/carp-client/shared/models/common";
import { query, getErrorResponse } from "@dcspark/carp-client/client/src/index";
import { ADDRESS_LIMIT } from "@dcspark/carp-client/shared/constants";
import { RelationFilterType } from "@dcspark/carp-client";
import { query, getErrorResponse } from "@dcspark/carp-client";
import { ADDRESS_LIMIT } from "@dcspark/carp-client";

const urlBase = "http://localhost:3000";

Expand Down
6 changes: 3 additions & 3 deletions webserver/examples/tests/transactionOutput.test.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { expect } from "chai";
import { Errors } from "@dcspark/carp-client/shared/errors";
import { Routes } from "@dcspark/carp-client/shared/routes";
import { Errors } from "@dcspark/carp-client";
import { Routes } from "@dcspark/carp-client";
import { StatusCodes } from "http-status-codes";
import { query, getErrorResponse } from "@dcspark/carp-client/client/src/index";
import { query, getErrorResponse } from "@dcspark/carp-client";

const urlBase = "http://localhost:3000";

Expand Down

0 comments on commit 67b4568

Please sign in to comment.