Skip to content

Commit

Permalink
test: update test with more assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
hhimanshu committed Apr 19, 2021
1 parent 53206ac commit a3a8b24
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/integration_tests/hello.int.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ describe("Address API", () => {
return fetch(url)
.then((res) => res.text())
.then((data) => {
expect(data).toBeDefined()
expect(data).toBe(`Hello ${name}!`);
});
});
Expand Down

0 comments on commit a3a8b24

Please sign in to comment.