From 51b0fbdfe2c0614008a383eb623638eb88dc1530 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9goire=20Chevalier?= Date: Wed, 24 May 2023 12:14:51 +0200 Subject: [PATCH] adding wtching mode --- package.json | 1 + .../{ad.repository.spec.ts => ad.controler.integration.spec.ts} | 0 .../ad/tests/integration/ad.repository.integration.spec.ts | 0 3 files changed, 1 insertion(+) rename src/modules/ad/tests/integration/{ad.repository.spec.ts => ad.controler.integration.spec.ts} (100%) create mode 100644 src/modules/ad/tests/integration/ad.repository.integration.spec.ts diff --git a/package.json b/package.json index f069699..e4340e5 100644 --- a/package.json +++ b/package.json @@ -19,6 +19,7 @@ "pretty": "./node_modules/.bin/prettier --write .", "test": "npm run migrate:test && dotenv -e .env.test jest", "test:unit": "jest --testPathPattern 'tests/unit/' --verbose", + "test:unit:watch": "jest --testPathPattern 'tests/unit/' --verbose --watch", "test:unit:ci": "jest --testPathPattern 'tests/unit/' --coverage", "test:integration": "npm run migrate:test && dotenv -e .env.test -- jest --testPathPattern 'tests/integration/' --verbose", "test:integration:ci": "npm run migrate:test:ci && dotenv -e ci/.env.ci -- jest --testPathPattern 'tests/integration/'", diff --git a/src/modules/ad/tests/integration/ad.repository.spec.ts b/src/modules/ad/tests/integration/ad.controler.integration.spec.ts similarity index 100% rename from src/modules/ad/tests/integration/ad.repository.spec.ts rename to src/modules/ad/tests/integration/ad.controler.integration.spec.ts diff --git a/src/modules/ad/tests/integration/ad.repository.integration.spec.ts b/src/modules/ad/tests/integration/ad.repository.integration.spec.ts new file mode 100644 index 0000000..e69de29