change validation check name

This commit is contained in:
Samuel Newman
2025-07-03 14:59:11 +03:00
parent a55992c776
commit 8fc9bc4e35
3 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -18,7 +18,7 @@ describe('handle validation', () => {
})
const invalid = [
['al', 'bsky.social', 'frontLengthLongEnough'],
['al', 'bsky.social', 'frontLengthNotTooShort'],
['-alice', 'bsky.social', 'hyphenStartOrEnd'],
['alice-', 'bsky.social', 'hyphenStartOrEnd'],
['%%%', 'bsky.social', 'handleChars'],
@@ -28,7 +28,7 @@ describe('handle validation', () => {
'my-custom-pds-with-long-name.social',
'frontLengthNotTooLong',
],
['al', 'my-custom-pds-with-long-name.social', 'frontLengthLongEnough'],
['al', 'my-custom-pds-with-long-name.social', 'frontLengthNotTooShort'],
['a'.repeat(300), 'toolong.com', 'totalLength'],
] satisfies [string, string, keyof IsValidHandle][]
it.each(invalid)(