From 1c8a9f1dc9a2e8c0c4ca7aa18b8ee91546caecb3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karol=20S=C3=B3jko?= Date: Wed, 19 Oct 2022 10:48:06 +0200 Subject: [PATCH] fix: test setup --- .github/workflows/server-application.yml | 2 +- package.json | 8 -------- packages/auth/tsconfig.json | 3 --- 3 files changed, 1 insertion(+), 12 deletions(-) diff --git a/.github/workflows/server-application.yml b/.github/workflows/server-application.yml index 44f58f474..f14a61fbd 100644 --- a/.github/workflows/server-application.yml +++ b/.github/workflows/server-application.yml @@ -107,7 +107,7 @@ jobs: run: yarn build ${{ inputs.package_path }} - name: Test - run: yarn test:${{ inputs.service_name }} + run: yarn test ${{ inputs.package_path }} e2e: if: ${{ inputs.run_e2e_test_suite }} == true diff --git a/package.json b/package.json index fc704fe61..aadb23842 100644 --- a/package.json +++ b/package.json @@ -20,14 +20,6 @@ "lint:event-store": "yarn workspace @standardnotes/event-store lint", "lint:websockets": "yarn workspace @standardnotes/websockets-server lint", "lint:workspace": "yarn workspace @standardnotes/workspace-server lint", - "test": "yarn workspaces foreach -p -j 10 --verbose run test", - "test:auth": "yarn workspace @standardnotes/auth-server test", - "test:scheduler": "yarn workspace @standardnotes/scheduler-server test", - "test:syncing-server": "yarn workspace @standardnotes/syncing-server test", - "test:files": "yarn workspace @standardnotes/files-server test", - "test:event-store": "yarn workspace @standardnotes/event-store test", - "test:websockets": "yarn workspace @standardnotes/websockets-server test", - "test:workspace": "yarn workspace @standardnotes/workspace-server test", "clean": "yarn workspaces foreach -p --verbose run clean", "setup:env": "cp .env.sample .env && yarn workspaces foreach -p --verbose run setup:env", "start:auth": "yarn workspace @standardnotes/auth-server start", diff --git a/packages/auth/tsconfig.json b/packages/auth/tsconfig.json index 264b109d1..d87b89eeb 100644 --- a/packages/auth/tsconfig.json +++ b/packages/auth/tsconfig.json @@ -3,9 +3,6 @@ "compilerOptions": { "composite": true, "outDir": "./dist", - "types": [ - "reflect-metadata" - ] }, "include": [ "src/**/*",