Skip to content

Commit

Permalink
e2e getNeighborhoodsByState
Browse files Browse the repository at this point in the history
  • Loading branch information
maick05 committed Jun 26, 2022
1 parent 4e05e74 commit a49685f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions test/e2e/app.e2e-spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,13 @@ describe('App (e2e) ', () => {

expect(actual.body).to.be.an('array').that.is.not.empty;
});

it('/neighborhoods/state/brasil/sc (GET)', async () => {
const actual = await request(app.getHttpServer()).get(
'/neighborhoods/state/brasil/sc'
);
expect(actual.body).to.be.an('object').that.is.not.empty;
expect(actual.body.Orleans).to.be.an('array').that.is.not.empty;
});
});
});

0 comments on commit a49685f

Please sign in to comment.