-
-
Notifications
You must be signed in to change notification settings - Fork 654
Closed
Labels
bug 🐛Something isn't workingSomething isn't workingx:action/fixFix an issueFix an issuex:knowledge/noneNo existing Exercism knowledge requiredNo existing Exercism knowledge requiredx:size/smallSmall amount of workSmall amount of workx:status/claimedSomeone is working on this issueSomeone is working on this issuex:type/contentWork on content (e.g. exercises, concepts)Work on content (e.g. exercises, concepts)
Description
The comment on purchaseInventoryIfAvailable in fruit-picker.js says arg should be bool but a test case expects passing an object to return "PURCHASE" as if this is an expected type.
| * @param {boolean} isAvailable |
| expect(purchaseInventoryIfAvailable(null, { quantityAvailable: 4 })).toBe( |
The test case should be replaced by a bool or the comment should be updated to show different types are expected.
SleeplessByte
Metadata
Metadata
Assignees
Labels
bug 🐛Something isn't workingSomething isn't workingx:action/fixFix an issueFix an issuex:knowledge/noneNo existing Exercism knowledge requiredNo existing Exercism knowledge requiredx:size/smallSmall amount of workSmall amount of workx:status/claimedSomeone is working on this issueSomeone is working on this issuex:type/contentWork on content (e.g. exercises, concepts)Work on content (e.g. exercises, concepts)