Skip to content

Commit

Permalink
update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tsolakoua committed Aug 30, 2023
1 parent a0b0afe commit 90f5dd7
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions spec/amadeus/namespaces.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,10 +101,6 @@ describe('Namespaces', () => {
expect(amadeus.location.analytics).toBeDefined();
expect(amadeus.location.analytics.categoryRatedAreas).toBeDefined();

expect(amadeus.dutyOfCare).toBeDefined();
expect(amadeus.dutyOfCare.diseases).toBeDefined();
expect(amadeus.dutyOfCare.diseases.covid19Report).toBeDefined();

expect(amadeus.airline.destinations).toBeDefined();
});

Expand Down Expand Up @@ -158,8 +154,6 @@ describe('Namespaces', () => {

expect(amadeus.location.analytics.categoryRatedAreas.get).toBeDefined();

expect(amadeus.dutyOfCare.diseases.covid19Report.get).toBeDefined();

expect(amadeus.airline.destinations.get).toBeDefined();
});

Expand Down Expand Up @@ -532,13 +526,6 @@ describe('Namespaces', () => {
.toHaveBeenCalledWith('/v1/shopping/flight-offers/upselling', {});
});

it('.amadeus.dutyOfCare.diseases.covid19Report.get', () => {
amadeus.client.get = jest.fn();
amadeus.dutyOfCare.diseases.covid19Report.get();
expect(amadeus.client.get)
.toHaveBeenCalledWith('/v2/duty-of-care/diseases/covid19-area-report', {});
});

it('.amadeus.airline.destinations.get', () => {
amadeus.client.get = jest.fn();
amadeus.airline.destinations.get();
Expand Down

0 comments on commit 90f5dd7

Please sign in to comment.