Created
November 26, 2020 09:32
-
-
Save qunabu/d7abfb0cda696a53edd7d3b5fa8ca9b5 to your computer and use it in GitHub Desktop.
Przygotowanie do testów
This file contains hidden or 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
beforeEach(() => { | |
initializeCityDatabase(); | |
}); | |
afterEach(() => { | |
clearCityDatabase(); | |
}); | |
test("city database has Vienna", () => { | |
expect(isCity("Vienna")).toBeTruthy(); | |
}); | |
test("city database has San Juan", () => { | |
expect(isCity("San Juan")).toBeTruthy(); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment