Skip to content

Commit c6f7614

Browse files
committed
fix: arbitrary for vault names will not generate invalid names
1 parent 2b4c00c commit c6f7614

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/utils/utils.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ const cmdArgsArrayArb = fc
115115
const vaultNameArb = fc
116116
.string({ minLength: 1, maxLength: 100 })
117117
.filter((str) => binParsers.vaultNameRegex.test(str))
118+
.filter((str) => !str.startsWith('-'))
118119
.noShrink();
119120

120121
export {

0 commit comments

Comments
 (0)