remove test case with numbers being invalid in nickname

This commit is contained in:
TabascoEye 2021-04-30 10:58:01 +02:00 committed by GitHub
parent 2b2c60cbe3
commit 7592a71bd5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 4 deletions

View File

@ -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);
});
});
});