diff --git a/.changeset/tiny-mayflies-guess.md b/.changeset/tiny-mayflies-guess.md new file mode 100644 index 00000000000..452d9d1ae02 --- /dev/null +++ b/.changeset/tiny-mayflies-guess.md @@ -0,0 +1,5 @@ +--- +"@fuel-ts/wallet-manager": patch +--- + +Fix test that had duplicated doc region diff --git a/packages/wallet-manager/src/wallet-manager.test.ts b/packages/wallet-manager/src/wallet-manager.test.ts index 400e328ea74..e1c0af06ec5 100644 --- a/packages/wallet-manager/src/wallet-manager.test.ts +++ b/packages/wallet-manager/src/wallet-manager.test.ts @@ -140,13 +140,10 @@ describe('Wallet Manager', () => { }); it('Return account when adding account to vault', async () => { - // #region typedoc:wallet-manager-create const walletManager = new WalletManager(); const password = '0b540281-f87b-49ca-be37-2264c7f260f7'; - // Add a vault of type privateKey await walletManager.unlock(password); - // #endregion await walletManager.addVault({ type: 'mnemonic', diff --git a/scripts/typedoc-plugin-guide-builder/src/guide-builder.ts b/scripts/typedoc-plugin-guide-builder/src/guide-builder.ts index ff25f05cdbe..37ae4f89320 100644 --- a/scripts/typedoc-plugin-guide-builder/src/guide-builder.ts +++ b/scripts/typedoc-plugin-guide-builder/src/guide-builder.ts @@ -158,7 +158,8 @@ export class GuideBuilder { } } } catch (error) { - console.log('failed to copy files:', error); + console.warn('failed to copy files:', error); + throw new Error('Failed to generate Guide'); } console.log(`Documentation generated at ${this._options.guideOutput}`);