1describe('some testing', () => {
2 let isCity;
3
4 beforeEach(() => {
5 isCity = 'Vienna';
6 });
7
8 afterEach(() => {
9 isCity = null;
10 });
11
12 test('city database has Vienna', () => {
13 expect(isCity('Vienna')).toBeTruthy();
14 });
15
16 test('city database has San Juan', () => {
17 expect(isCity('San Juan')).toBeTruthy();
18 });
19}
20