diff --git a/package.json b/package.json index f602a08..b813bd6 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,8 @@ "test:watch": "jest --watch", "test:cov": "jest --coverage", "test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand", - "test:e2e": "jest --config ./test/jest-e2e.json" + "test:e2e": "jest --config ./test/jest-e2e.json", + "test:e2e-watch": "jest --watch --config ./test/jest-e2e.json" }, "dependencies": { "@juicyllama/nestjs-redoc": "^2.3.11", diff --git a/test/app.e2e-spec.ts b/test/app.e2e-spec.ts index f6d4734..aec2694 100644 --- a/test/app.e2e-spec.ts +++ b/test/app.e2e-spec.ts @@ -15,4 +15,16 @@ describe("AppController (e2e)", () => { await app.init(); }); + it("/skills", () => { + return request(app.getHttpServer()).get("/skills").expect(200); + }); + it("/experiences", () => { + return request(app.getHttpServer()).get("/experiences").expect(200); + }); + it("/education", () => { + return request(app.getHttpServer()).get("/education").expect(200); + }); + it("/intro", () => { + return request(app.getHttpServer()).get("/intro").expect(200); + }); });