From a3a8b249f80a8ef39afdb36cf5a41b98838f66ec Mon Sep 17 00:00:00 2001 From: hhimanshu Date: Mon, 19 Apr 2021 05:51:49 -0700 Subject: [PATCH] test: update test with more assertion --- src/integration_tests/hello.int.test.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/integration_tests/hello.int.test.ts b/src/integration_tests/hello.int.test.ts index 26e3787..b017006 100644 --- a/src/integration_tests/hello.int.test.ts +++ b/src/integration_tests/hello.int.test.ts @@ -13,6 +13,7 @@ describe("Address API", () => { return fetch(url) .then((res) => res.text()) .then((data) => { + expect(data).toBeDefined() expect(data).toBe(`Hello ${name}!`); }); });