Created
June 21, 2019 09:38
-
-
Save lgandecki/690d8779b44ad0f6b1ad99f751209279 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
test("estimateShipping should be calculated as 1 dollar per 2 pounds for an item with a price of 1000 or below", () => { | |
expect(estimateShipping({price: 1000, weight: 500})).toEqual(250) | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment