remove test case with numbers being invalid in nickname
This commit is contained in:
parent
2b2c60cbe3
commit
7592a71bd5
@ -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…
Reference in New Issue
Block a user