Remove stray "if enabled" from test text

This commit is contained in:
Simon Warta 2020-09-23 16:17:28 +02:00
parent db1f183247
commit c0e9f96fa1
2 changed files with 2 additions and 2 deletions

View File

@ -87,7 +87,7 @@ describe("Secp256k1Wallet", () => {
});
describe("getAccounts", () => {
it("resolves to a list of accounts if enabled", async () => {
it("resolves to a list of accounts", async () => {
const wallet = await Secp256k1Wallet.fromMnemonic(defaultMnemonic);
const accounts = await wallet.getAccounts();
expect(accounts.length).toEqual(1);

View File

@ -34,7 +34,7 @@ describe("DirectSecp256k1Wallet", () => {
});
describe("getAccounts", () => {
it("resolves to a list of accounts if enabled", async () => {
it("resolves to a list of accounts", async () => {
const wallet = await DirectSecp256k1Wallet.fromMnemonic(defaultMnemonic);
const accounts = await wallet.getAccounts();
expect(accounts.length).toEqual(1);