diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index 22e312113..86a8317ec 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -15,6 +15,4 @@ jobs: uses: actions/setup-node@v3 - name: Run integration tests - # TODO: Replace the following 'run' statement with the following when TEST_SQUARE_TOKEN secret exists. - # run: yarn && yarn test:integration - run: yarn + run: yarn && yarn test:integration diff --git a/package.json b/package.json index 0dc6e6508..51ed007af 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ "prepack": "cp -rv dist/. .", "test": "yarn test:unit", "test:unit": "jest --testPathPattern=tests/unit", - "test:integration": "jest --testPathPattern=tests/integration" + "test:integration": "jest '.*tests\\/integration\\/(?!.*\\.serial\\.test\\.ts$).*\\.test\\.ts$'; jest '.*tests\\/integration\\/.*\\.serial\\.test\\.ts$' --runInBand" }, "dependencies": { "url-join": "4.0.1",