From fdc32951a755b4296bec590530d62dadbcc608a3 Mon Sep 17 00:00:00 2001 From: Jordi Bertran de Balanda Date: Fri, 14 Oct 2022 14:50:32 +0200 Subject: [PATCH] BB-295 - use jest with expression filters instead of paths --- package.json | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/package.json b/package.json index 6f21d2ab6..8d0a4bd7d 100644 --- a/package.json +++ b/package.json @@ -15,16 +15,16 @@ "oplog_populator": "node dist/extensions/oplogPopulator/OplogPopulatorTask.js", "mongo_queue_processor": "node dist/extensions/mongoProcessor/mongoProcessorTask.js", "garbage_collector": "node dist/extensions/gc/service.js", - "test": "jest tests/unit", - "ft_test": "jest $(find tests/functional -name '*.js') --testTimeout 30000", - "ft_test:notification": "jest $(find tests/functional/notification -name '*.js') --testTimeout 30000", - "ft_test:replication": "jest $(find tests/functional/replication -name '*.js') --testTimeout 30000", - "ft_test:lib": "jest $(find tests/functional/lib -name '*.js') --testTimeout 30000", - "ft_test:lifecycle": "jest $(find tests/functional/lifecycle -name '*.js') --testTimeout 30000", - "ft_test:ingestion": "jest $(find tests/functional/ingestion -name '*.js') --testTimeout 30000", - "ft_test:api:routes": "jest tests/functional/api/routes.js --testTimeout 30000", - "ft_test:api:retry": "jest tests/functional/api/retry.js --testTimeout 30000", - "bh_test": "jest tests/behavior", + "test": "jest /unit --forceExit", + "ft_test": "jest /functional --testTimeout 30000", + "ft_test:notification": "jest /functional/notification --testTimeout 30000", + "ft_test:replication": "jest /functional/replication --testTimeout 30000", + "ft_test:lib": "jest /functional/lib --testTimeout 30000", + "ft_test:lifecycle": "jest /functional/lifecycle --testTimeout 30000", + "ft_test:ingestion": "jest /functional/ingestion --testTimeout 30000", + "ft_test:api:routes": "jest /functional/api/routes.spec.js --testTimeout 30000", + "ft_test:api:retry": "jest /functional/api/retry.spec.js --testTimeout 30000", + "bh_test": "jest /behavior", "lint": "eslint $(git ls-files '*.js')", "lint_md": "mdlint $(git ls-files '[^bucket-scanner/]*.md')", "start": "node dist/bin/backbeat.js",