diff --git a/package.json b/package.json index 66f4518ed2..053a0fc12b 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ "test:ci": "lerna run test:ci", "test:e2e": "lerna run test:e2e", "test:integration:ui": "lerna run integration-test:ui", - "test:integration:api": "lerna run integration-test:api", + "test:integration:api": "lerna run integration-test:api:pre-seed && lerna run integration-test:api", "dev": "lerna run dev", "build": "lerna run build", "start": "lerna run start", diff --git a/packages/integration-tests/package.json b/packages/integration-tests/package.json index 21e519c604..00ad302cf5 100644 --- a/packages/integration-tests/package.json +++ b/packages/integration-tests/package.json @@ -9,7 +9,8 @@ "license": "MIT", "scripts": { "postinstall": "cd src/playbook && npm install", - "integration-test:api": "./run.sh", + "integration-test:api:pre-seed": "jest --verbose --testPathPattern=tokens.test.ts && jest --verbose --testPathPattern=deposit.test.ts", + "integration-test:api": "jest --verbose --testPathPattern=common && jest --verbose --testPathPattern=transactions", "integration-test:ui": "npx playwright test", "block-explorer:start": "docker-compose -f docker-compose.yaml up\n", "lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-pattern 'repos' --ignore-pattern 'git add .'" diff --git a/packages/integration-tests/run.sh b/packages/integration-tests/run.sh deleted file mode 100755 index 6df60ee772..0000000000 --- a/packages/integration-tests/run.sh +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/bash - -echo "Test run" -npx jest --verbose --testPathPattern=tokens.test.ts -npx jest --verbose --testPathPattern=deposit.test.ts -npx jest --verbose --testPathPattern=common -npx jest --verbose --testPathPattern=transactions \ No newline at end of file