From bdc8360b50346e3159cae5832be55d5f43c68fe3 Mon Sep 17 00:00:00 2001 From: elpla Date: Mon, 1 May 2023 12:07:32 +0200 Subject: [PATCH] Probando solucion a bug de coverage --- .github/workflows/lomap_es3c.yml | 2 ++ restapi/package.json | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/lomap_es3c.yml b/.github/workflows/lomap_es3c.yml index 98fd4cf..d9ec051 100644 --- a/.github/workflows/lomap_es3c.yml +++ b/.github/workflows/lomap_es3c.yml @@ -13,6 +13,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 + with: + fetch-depth: 0 - uses: actions/setup-node@v3 with: node-version: 18 diff --git a/restapi/package.json b/restapi/package.json index 4f40ee9..7238167 100644 --- a/restapi/package.json +++ b/restapi/package.json @@ -3,7 +3,7 @@ "version": "1.0.0", "scripts": { "start": "ts-node-dev ./server.ts", - "test": "cd tests && jest --runInBand" + "test": "jest --runInBand --coverage" }, "keywords": [], "author": "",