Skip to content

Commit

Permalink
fix(utils): isValidPassword 테스트 파일 네이밍 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
ssi02014 committed Jun 13, 2024
1 parent d3bbd29 commit 270406f
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ describe('isValidPassword', () => {
});

it('should validate the password based on the validator array', () => {
// Check password minimum/maximum length
expect(isValidPassword('12345678')).toBeTruthy();
expect(isValidPassword('1234')).toBeFalsy();

// Check for inclusion of lowercase letter
expect(
isValidPassword('password', { validator: ['lowerCase'] })
Expand Down

0 comments on commit 270406f

Please sign in to comment.