Skip to content

Commit 2f74c35

Browse files
Update Sprint-3/1-implement-and-rewrite-tests/implement/3-get-card-value.js
Co-authored-by: Daniel Wagner-Hall <daniel@codeyourfuture.io>
1 parent f5de05d commit 2f74c35

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Sprint-3/1-implement-and-rewrite-tests/implement/3-get-card-value.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ try {
4848
// This line will not be reached if an error is thrown as expected
4949
console.error("Error was not thrown for invalid card 😢");
5050
} catch (e) {
51-
console.error("Error thrown for invalid card 🎉");
51+
console.log("Error thrown for invalid card 🎉");
5252
}
5353

5454
// What other invalid card cases can you think of?

0 commit comments

Comments
 (0)