From d45f1ddeb39cf20fab01c8b066df2cf600787402 Mon Sep 17 00:00:00 2001 From: Harvey Zuccon Date: Fri, 29 May 2026 18:16:27 +0200 Subject: [PATCH] Update test mnemonic --- src/cli/README.md | 2 +- src/cli/arguments.ts | 4 ++-- tests/cli/mnemonic.test.ts | 5 ++--- tests/cli/mocks/engine.ts | 2 +- 4 files changed, 6 insertions(+), 7 deletions(-) diff --git a/src/cli/README.md b/src/cli/README.md index cfcaeb7..146805f 100644 --- a/src/cli/README.md +++ b/src/cli/README.md @@ -57,7 +57,7 @@ npx tsx src/index.ts # TUI xo-cli mnemonic create # Import an existing mnemonic seed phrase -xo-cli mnemonic import page pencil stock planet limb cluster assault speak off joke private pioneer +xo-cli mnemonic import oven crop same above under tower promote decrease vocal pretty require slow # List mnemonic basenames (use with -m) xo-cli mnemonic list diff --git a/src/cli/arguments.ts b/src/cli/arguments.ts index 4558ab9..39d6fd2 100644 --- a/src/cli/arguments.ts +++ b/src/cli/arguments.ts @@ -7,9 +7,9 @@ import { z } from "zod"; /** * Converts the CLI args to a key-value object and return the options object along with the other arguments still in the array.\ - * eg: `xo-cli mnemonic create page pencil stock planet limb cluster assault speak off joke private pioneer -v -o mnemonic.txt` will return: + * eg: `xo-cli mnemonic create oven crop same above under tower promote decrease vocal pretty require slow -v -o mnemonic.txt` will return: * { - * args: ["mnemonic", "create", "page", "pencil", "stock", "planet", "limb", "cluster", "assault", "speak", "off", "joke", "private", "pioneer"], + * args: ["mnemonic", "create", "oven", "crop", "same", "above", "under", "tower", "promote", "decrease", "vocal", "pretty", "require", "slow"], * options: { * output: "mnemonic.txt", * verbose: "true", diff --git a/tests/cli/mnemonic.test.ts b/tests/cli/mnemonic.test.ts index d0abfc0..1b29e45 100644 --- a/tests/cli/mnemonic.test.ts +++ b/tests/cli/mnemonic.test.ts @@ -19,8 +19,7 @@ import { import { BCHMnemonicURL } from "../../src/utils/bch-mnemonic-url"; const TEST_SEED = - "page pencil stock planet limb cluster assault speak off joke private pioneer"; - + "oven crop same above under tower promote decrease vocal pretty require slow"; describe("mnemonic utilities", () => { let tempDir: string; @@ -54,7 +53,7 @@ describe("mnemonic utilities", () => { test("creates a mnemonic file with auto-generated name", () => { const filename = createMnemonicFile(tempDir, TEST_SEED); - expect(filename).toMatch(/^mnemonic-page$/); + expect(filename).toMatch(/^mnemonic-oven$/); expect(existsSync(path.join(tempDir, filename))).toBe(true); }); diff --git a/tests/cli/mocks/engine.ts b/tests/cli/mocks/engine.ts index 18ee48f..838ed88 100644 --- a/tests/cli/mocks/engine.ts +++ b/tests/cli/mocks/engine.ts @@ -18,7 +18,7 @@ import { MockRatesService } from "./rates-service"; import { RatesService } from "../../../src/services/rates"; export const DEFAULT_SEED = - "page pencil stock planet limb cluster assault speak off joke private pioneer"; + "oven crop same above under tower promote decrease vocal pretty require slow"; /** * Options for creating a fake resource (UTXO) in tests.