Created
February 20, 2021 18:51
-
-
Save fernandodof/509a89b6b129acef310614d90d316b4f 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
describe('When the average price is called for 7 days', () => { | |
beforeEach(async () => { | |
averagePrice = await getPricesLastDays(7); | |
}); | |
it('Then the correct average should be returned', () => { | |
expect(averagePrice).toEqual({ average: MOCK_AVERAGE }); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment