Skip to content

Commit 69bef1b

Browse files
committed
correct an issue
1 parent c94ac7b commit 69bef1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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
@@ -51,7 +51,7 @@ function getCardValue(card) {
5151
return Number(rank);
5252
}
5353

54-
module.exports = getCardValue;
54+
export default getCardValue;
5555

5656
// The line below allows us to load the getCardValue function into tests in other files.
5757
// This will be useful in the "rewrite tests with jest" step.

0 commit comments

Comments
 (0)