Merge pull request #974 from tabascoeye/patch-1
allow numbers in nickname again
This commit is contained in:
commit
fea1de36a4
2 changed files with 2 additions and 5 deletions
|
@ -19,9 +19,6 @@ describe("isUserNameValid()", () => {
|
|||
it("should not validate spaces", () => {
|
||||
expect(isUserNameValid(' ')).toBe(false);
|
||||
});
|
||||
it("should not validate numbers", () => {
|
||||
expect(isUserNameValid('a12')).toBe(false);
|
||||
});
|
||||
it("should not validate special characters", () => {
|
||||
expect(isUserNameValid('a&-')).toBe(false);
|
||||
});
|
||||
|
@ -42,4 +39,4 @@ describe("areCharacterLayersValid()", () => {
|
|||
it("should not validate empty strings", () => {
|
||||
expect(areCharacterLayersValid(['', 'male1'])).toBe(false);
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue