Skip to content

Commit b4f2913

Browse files
committed
drop .spec from testutils.spec.ts filename
frameworks expect more than 0 unit tests to be in *.spec.ts fileS so rename it to testutils.ts.
1 parent ca243f5 commit b4f2913

38 files changed

+32
-32
lines changed

packages/amino/src/encoding.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import {
1919
testgroup3PubkeyBech32,
2020
testgroup4,
2121
testgroup4PubkeyBech32,
22-
} from "./testutils.spec";
22+
} from "./testutils";
2323

2424
describe("encoding", () => {
2525
describe("encodeSecp256k1Pubkey", () => {

packages/amino/src/multisig.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { compareArrays, createMultisigThresholdPubkey } from "./multisig";
2-
import { test1, test2, test3, testgroup1, testgroup2, testgroup3, testgroup4 } from "./testutils.spec";
2+
import { test1, test2, test3, testgroup1, testgroup2, testgroup3, testgroup4 } from "./testutils";
33

44
describe("multisig", () => {
55
describe("compareArrays", () => {

packages/amino/src/secp256k1hdwallet.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { fromBase64, fromHex } from "@cosmjs/encoding";
44
import { makeCosmoshubPath } from "./paths";
55
import { extractKdfConfiguration, Secp256k1HdWallet } from "./secp256k1hdwallet";
66
import { serializeSignDoc, StdSignDoc } from "./signdoc";
7-
import { base64Matcher } from "./testutils.spec";
7+
import { base64Matcher } from "./testutils";
88
import { executeKdf, KdfConfiguration } from "./wallet";
99

1010
describe("Secp256k1HdWallet", () => {
File renamed without changes.

packages/cosmwasm-stargate/src/cosmwasmclient.searchtx.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ import {
2727
pendingWithoutWasmd,
2828
wasmd,
2929
wasmdEnabled,
30-
} from "./testutils.spec";
30+
} from "./testutils";
3131

3232
interface TestTxSend {
3333
readonly sender: string;

packages/cosmwasm-stargate/src/cosmwasmclient.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ import {
2929
unused,
3030
wasmd,
3131
wasmdEnabled,
32-
} from "./testutils.spec";
32+
} from "./testutils";
3333

3434
interface HackatomInstance {
3535
readonly instantiateMsg: {

packages/cosmwasm-stargate/src/modules/wasm/queries.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ import {
2626
pendingWithoutWasmd,
2727
wasmd,
2828
wasmdEnabled,
29-
} from "../../testutils.spec";
29+
} from "../../testutils";
3030
import {
3131
MsgExecuteContractEncodeObject,
3232
MsgInstantiateContractEncodeObject,

packages/cosmwasm-stargate/src/signingcosmwasmclient.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ import {
4848
unused,
4949
validator,
5050
wasmd,
51-
} from "./testutils.spec";
51+
} from "./testutils";
5252

5353
describe("SigningCosmWasmClient", () => {
5454
describe("connectWithSigner", () => {

packages/faucet/src/api/webserver.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { makeCosmoshubPath } from "@cosmjs/stargate";
22
import { sleep } from "@cosmjs/utils";
33

44
import { Faucet } from "../faucet";
5-
import { simappEnabled } from "../testutils.spec";
5+
import { simappEnabled } from "../testutils";
66
import { TokenConfiguration } from "../tokenmanager";
77
import { ChainConstants, Webserver } from "./webserver";
88

0 commit comments

Comments
 (0)