resolvePassphrase() in src/batch-tx.ts — which resolves a BatchTransactionContext's effective network passphrase from either an explicit networkPassphrase or a named network, and throws BatchBuildError for an unknown network — has no dedicated test under src/tests/. It's a small pure function with several distinct branches (explicit passphrase present/blank, named network known/unknown, neither provided) that would be cheap to cover directly rather than relying on it being exercised incidentally through buildBatchTransactionsSync/buildBatchTransactions tests.
resolvePassphrase()insrc/batch-tx.ts— which resolves aBatchTransactionContext's effective network passphrase from either an explicitnetworkPassphraseor a namednetwork, and throwsBatchBuildErrorfor an unknown network — has no dedicated test undersrc/tests/. It's a small pure function with several distinct branches (explicit passphrase present/blank, named network known/unknown, neither provided) that would be cheap to cover directly rather than relying on it being exercised incidentally throughbuildBatchTransactionsSync/buildBatchTransactionstests.