We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c94ac7b commit 69bef1bCopy full SHA for 69bef1b
Sprint-3/1-implement-and-rewrite-tests/implement/3-get-card-value.js
@@ -51,7 +51,7 @@ function getCardValue(card) {
51
return Number(rank);
52
}
53
54
-module.exports = getCardValue;
+export default getCardValue;
55
56
// The line below allows us to load the getCardValue function into tests in other files.
57
// This will be useful in the "rewrite tests with jest" step.
0 commit comments