Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ describe('UserSettings test cases', () => {

expect(
await findByText(
/Should contain Latin letters, numbers and underscores. Only begin with latin letter/i,
/Must consist of Latin letters, numbers and underscores. Only begin with latin letter/i,
),
).toBeInTheDocument();
expect(submitButton).toBeDisabled();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const schemas = {
)
.matches(
/^[a-zA-Z]+[a-zA-Z0-9_-\s{1}][a-zA-Z0-9_]+$/i,
'Should contain Latin letters, numbers and underscores. Only begin with latin letter',
'Must consist of Latin letters, numbers and underscores. Only begin with latin letter',
)
.trim(),
clan: Yup.string()
Expand Down Expand Up @@ -69,7 +69,7 @@ const schemas = {
.max(16, 'Should be from 3 to 16 characters')
.matches(
/^[a-zA-Z]+[a-zA-Z0-9_-\s{1}][a-zA-Z0-9_]+$/i,
'Should contain Latin letters, numbers and underscores. Only begin with latin letter',
'Must consist of Latin letters, numbers and underscores. Only begin with latin letter',
)
.required('Nickname required'),
email: emailSchema,
Expand Down
Loading