diff --git a/Express/barAndCafe/jest.config.js b/Express/barAndCafe/jest.config.js index d8bf725..a4f7e45 100644 --- a/Express/barAndCafe/jest.config.js +++ b/Express/barAndCafe/jest.config.js @@ -9,5 +9,6 @@ module.exports = { '!/nodemodules/', '!/jest.config.js/', '!/coverage/', + '!**/server.ts', ], }; \ No newline at end of file diff --git a/Express/barAndCafe/test/app.test.ts b/Express/barAndCafe/test/app.test.ts index 925456f..a0435be 100644 --- a/Express/barAndCafe/test/app.test.ts +++ b/Express/barAndCafe/test/app.test.ts @@ -32,7 +32,7 @@ describe("Test the root path", () => { .get("/") .then(response => { console.log(response) - expect(response.text).toEqual("helloworld form dev") + expect(response.text).toEqual("hello world from dev") done(); }); });