From 809c4d8f5b4ccd3d1bfe14ef355907caaecd799a Mon Sep 17 00:00:00 2001 From: Prathamesh Musale Date: Tue, 23 Jan 2024 12:10:56 +0000 Subject: [PATCH] Run tests only from src folder (#55) Reviewed-on: https://git.vdb.to/cerc-io/laconic-sdk/pulls/55 Co-authored-by: Prathamesh Musale Co-committed-by: Prathamesh Musale --- .gitea/workflows/test.yml | 3 --- package.json | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/.gitea/workflows/test.yml b/.gitea/workflows/test.yml index 949f1d4..41942df 100644 --- a/.gitea/workflows/test.yml +++ b/.gitea/workflows/test.yml @@ -31,9 +31,6 @@ jobs: dockerd -H $DOCKER_HOST --userland-proxy=false & sleep 5 - - name: Docker version - run: docker version && docker compose version - - name: Build laconicd container working-directory: laconicd/tests/sdk_tests run: ./build-laconicd-container.sh diff --git a/package.json b/package.json index f4b2de2..5241dc9 100644 --- a/package.json +++ b/package.json @@ -48,7 +48,7 @@ "tiny-secp256k1": "^1.1.6" }, "scripts": { - "test": "jest --runInBand --verbose", + "test": "jest --runInBand --verbose --testPathPattern=src", "test:auctions": "TEST_AUCTIONS_ENABLED=1 jest --runInBand --verbose src/auction.test.ts", "test:nameservice-expiry": "TEST_NAMESERVICE_EXPIRY=1 jest --runInBand --verbose src/nameservice-expiry.test.ts", "build": "tsc"