modify testcases for nicknames to reflect new freedom
This commit is contained in:
parent
b27922a15f
commit
6739d68a96
@ -21,7 +21,7 @@ describe("isUserNameValid()", () => {
|
||||
expect(isUserNameValid(' ')).toBe(false);
|
||||
});
|
||||
it("should not validate special characters", () => {
|
||||
expect(isUserNameValid('a&-')).toBe(false);
|
||||
expect(isUserNameValid('a@*')).toBe(false);
|
||||
});
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user