Skip to content

Commit 8c7d991

Browse files
committed
tendermint-rpc: remove '.spec' from testutil.spec.ts
and use the same filename as all other packages use, testutils with an S for consistency.
1 parent 23366ac commit 8c7d991

File tree

12 files changed

+11
-10
lines changed

12 files changed

+11
-10
lines changed

packages/tendermint-rpc/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
"build/",
1717
"*.md",
1818
"!*.spec.*",
19+
"!*testutils.*",
1920
"!**/testdata/"
2021
],
2122
"repository": {

packages/tendermint-rpc/src/comet1/comet1client.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import {
1313
tendermintEnabled,
1414
tendermintInstances,
1515
tendermintSearchIndexUpdated,
16-
} from "../testutil.spec";
16+
} from "../testutils";
1717
import { Comet1Client } from "./comet1client";
1818
import { hashTx } from "./hasher";
1919
import { buildQuery } from "./requests";

packages/tendermint-rpc/src/comet38/comet38client.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import {
1313
tendermintEnabled,
1414
tendermintInstances,
1515
tendermintSearchIndexUpdated,
16-
} from "../testutil.spec";
16+
} from "../testutils";
1717
import { Comet38Client } from "./comet38client";
1818
import { hashTx } from "./hasher";
1919
import { buildQuery } from "./requests";

packages/tendermint-rpc/src/rpcclients/http.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { createJsonRpcRequest } from "../jsonrpc";
2-
import { defaultInstance, tendermintEnabled } from "../testutil.spec";
2+
import { defaultInstance, tendermintEnabled } from "../testutils";
33
import { http } from "./http";
44

55
const httpServerEnabled = !!globalThis.process?.env.HTTPSERVER_ENABLED;

packages/tendermint-rpc/src/rpcclients/httpbatchclient.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { createJsonRpcRequest } from "../jsonrpc";
2-
import { defaultInstance, tendermintEnabled } from "../testutil.spec";
2+
import { defaultInstance, tendermintEnabled } from "../testutils";
33
import { HttpBatchClient } from "./httpbatchclient";
44

55
(tendermintEnabled ? describe : xdescribe)("HttpBatchClient", () => {

packages/tendermint-rpc/src/rpcclients/httpclient.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { createJsonRpcRequest } from "../jsonrpc";
2-
import { defaultInstance, tendermintEnabled } from "../testutil.spec";
2+
import { defaultInstance, tendermintEnabled } from "../testutils";
33
import { HttpClient } from "./httpclient";
44

55
(tendermintEnabled ? describe : xdescribe)("HttpClient", () => {

packages/tendermint-rpc/src/rpcclients/rpcclient.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { createJsonRpcRequest } from "../jsonrpc";
2-
import { defaultInstance, tendermintEnabled } from "../testutil.spec";
2+
import { defaultInstance, tendermintEnabled } from "../testutils";
33
import { HttpClient } from "./httpclient";
44
import { hasProtocol, instanceOfRpcStreamingClient } from "./rpcclient";
55
import { WebsocketClient } from "./websocketclient";

packages/tendermint-rpc/src/rpcclients/websocketclient.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { toListPromise } from "@cosmjs/stream";
33
import { Stream } from "xstream";
44

55
import { createJsonRpcRequest } from "../jsonrpc";
6-
import { defaultInstance, tendermintEnabled } from "../testutil.spec";
6+
import { defaultInstance, tendermintEnabled } from "../testutils";
77
import { SubscriptionEvent } from "./rpcclient";
88
import { WebsocketClient } from "./websocketclient";
99

packages/tendermint-rpc/src/tendermint34/tendermint34client.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import {
1313
tendermintEnabled,
1414
tendermintInstances,
1515
tendermintSearchIndexUpdated,
16-
} from "../testutil.spec";
16+
} from "../testutils";
1717
import { hashTx } from "./hasher";
1818
import { buildQuery } from "./requests";
1919
import * as responses from "./responses";

packages/tendermint-rpc/src/tendermint37/tendermint37client.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import {
1313
tendermintEnabled,
1414
tendermintInstances,
1515
tendermintSearchIndexUpdated,
16-
} from "../testutil.spec";
16+
} from "../testutils";
1717
import { hashTx } from "./hasher";
1818
import { buildQuery } from "./requests";
1919
import * as responses from "./responses";

0 commit comments

Comments
 (0)