Skip to content

Commit 48629e0

Browse files
committed
Update 4-stretch/password-validator.test.js - all tests pass
1 parent 3e569fa commit 48629e0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Sprint-3/4-stretch/password-validator.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ You must breakdown this problem in order to solve it. Find one test case first a
1717
const isValidPassword = require("./password-validator");
1818
test("password has at least 5 characters", () => {
1919
// Arrange
20-
const password = "12345";
20+
const password = "Pen5!";
2121
// Act
2222
const result = isValidPassword(password);
2323
// Assert
@@ -49,5 +49,5 @@ test("returns false if there is no symbol", () => {
4949
});
5050

5151
test("returns false if password is a previous password", () => {
52-
expect(isValidPassword("HeLlo5.")).toBe(false);
52+
expect(isValidPassword("heLlo5.")).toBe(false);
5353
});

0 commit comments

Comments
 (0)