Skip to content

Commit

Permalink
fix: arbitrary for vault names will not generate invalid names
Browse files Browse the repository at this point in the history
  • Loading branch information
aryanjassal committed Nov 29, 2024
1 parent 2b4c00c commit c6f7614
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/utils/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ const cmdArgsArrayArb = fc
const vaultNameArb = fc
.string({ minLength: 1, maxLength: 100 })
.filter((str) => binParsers.vaultNameRegex.test(str))
.filter((str) => !str.startsWith('-'))
.noShrink();

export {
Expand Down

0 comments on commit c6f7614

Please sign in to comment.