Skip to content

Commit

Permalink
docs: recover missing docs (#718)
Browse files Browse the repository at this point in the history
* halt on error

* remove dupe

* cs

Co-authored-by: Anderson Arboleya <[email protected]>
  • Loading branch information
Cameron Manavian and arboleya authored Jan 4, 2023
1 parent c280c41 commit 217f981
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
5 changes: 5 additions & 0 deletions .changeset/tiny-mayflies-guess.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@fuel-ts/wallet-manager": patch
---

Fix test that had duplicated doc region
3 changes: 0 additions & 3 deletions packages/wallet-manager/src/wallet-manager.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
3 changes: 2 additions & 1 deletion scripts/typedoc-plugin-guide-builder/src/guide-builder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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}`);
Expand Down

0 comments on commit 217f981

Please sign in to comment.