From 803756396a4de0749023fb4674f785805d7680ba Mon Sep 17 00:00:00 2001 From: Adam Mcgrath Date: Mon, 2 Oct 2023 17:30:19 +0100 Subject: [PATCH] Split app/page router test runs --- .github/workflows/test.yml | 3 ++- package.json | 8 -------- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index cf0259939..5ad00246f 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -15,4 +15,5 @@ jobs: node-version: '18.x' - run: npm ci - run: npm run build:test - - run: npm test -- --logHeapUsage + - run: npm test -- --logHeapUsage -t "^((?\!page router).)*$" + - run: npm test -- --logHeapUsage -t "^.*page router.*$" diff --git a/package.json b/package.json index 096b5e284..36c0b4fdb 100644 --- a/package.json +++ b/package.json @@ -149,14 +149,6 @@ "text", "text-summary" ], - "coverageThreshold": { - "global": { - "branches": 100, - "functions": 100, - "lines": 100, - "statements": 100 - } - }, "coverageProvider": "v8", "projects": [ "/jest-node.config.js",