From 9bfbdfa156a3d2c542881f60b4dcbc809798be22 Mon Sep 17 00:00:00 2001 From: William Wong Date: Wed, 6 Dec 2023 06:45:03 -0800 Subject: [PATCH] Fix unit test coverage --- .github/workflows/pull-request-validation.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pull-request-validation.yml b/.github/workflows/pull-request-validation.yml index 95f7efcf54..d9d0df1f41 100644 --- a/.github/workflows/pull-request-validation.yml +++ b/.github/workflows/pull-request-validation.yml @@ -126,7 +126,14 @@ jobs: - run: npm run build --if-present - name: Run jest --testPathPattern packages/ - run: ./node_modules/.bin/jest --testPathPattern packages/ + run: | + ./node_modules/.bin/jest \ + --ci \ + --coverage true \ + --forceExit \ + --logHeapUsage \ + --runInBand \ + --testPathPattern packages/ timeout-minutes: 10 - if: always()