mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-22 23:27:54 -05:00
revise username spaces test
This commit is contained in:
parent
e915ae1927
commit
419f996f75
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ describe('unit test lib/validate.js', () => {
|
||||||
|
|
||||||
test('validate username spaces not allowed', () => {
|
test('validate username spaces not allowed', () => {
|
||||||
const response = validate.validateUsernameLocally('abc def');
|
const response = validate.validateUsernameLocally('abc def');
|
||||||
expect(response).toEqual({valid: false, errMsgId: 'registration.validationUsernameRegexp'});
|
expect(response).toEqual({valid: false, errMsgId: 'registration.validationUsernameSpaces'});
|
||||||
});
|
});
|
||||||
|
|
||||||
test('validate username special chars not allowed', () => {
|
test('validate username special chars not allowed', () => {
|
||||||
|
|
Loading…
Reference in a new issue