Skip to content

Commit f946ae5

Browse files
Update exercises/concept/captains-log/captains-log.spec.js
Co-authored-by: Derk-Jan Karrenbeld <[email protected]>
1 parent 173333d commit f946ae5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

exercises/concept/captains-log/captains-log.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ describe('randomShipRegistryNumber', () => {
1414
});
1515

1616
function loadDie(...values) {
17-
const originalRandom = Math.random();
17+
const originalRandom = Math.random;
1818

1919
Math.random = function loadedDie() {
2020
if (values.length === 0) {

0 commit comments

Comments
 (0)