File tree 1 file changed +2
-2
lines changed
src/components/PasswordInput/__test__
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ describe("PasswordUtils", () => {
112
112
expect ( validPassword ( "ValidPassword123" ) ) . toBe ( true ) ;
113
113
} ) ;
114
114
115
- it ( "returns false for an invalid password" , ( ) => {
115
+ it ( "returns true for an invalid password" , ( ) => {
116
116
expect ( validPassword ( "short" ) ) . toBe ( false ) ;
117
117
expect ( validPassword ( "noUpperNoSymbol123" ) ) . toBe ( true ) ;
118
118
expect ( validPassword ( "NoLowerNoSymbol123" ) ) . toBe ( true ) ;
@@ -124,7 +124,7 @@ describe("PasswordUtils", () => {
124
124
expect ( isPasswordValid ( "ValidPassword123" ) ) . toBe ( true ) ;
125
125
} ) ;
126
126
127
- it ( "returns false for an invalid password" , ( ) => {
127
+ it ( "returns true for an invalid password" , ( ) => {
128
128
expect ( isPasswordValid ( "short" ) ) . toBe ( false ) ;
129
129
expect ( isPasswordValid ( "noUpperNoSymbol123" ) ) . toBe ( true ) ;
130
130
expect ( isPasswordValid ( "NoLowerNoSymbol123" ) ) . toBe ( true ) ;
You can’t perform that action at this time.
0 commit comments