Skip to content

Conversation

@hanna-skryl
Copy link
Collaborator

Closes #1201

Code PushUp plugins focus on production code, so test files should be excluded from analysis. This PR adds tsconfig.code-pushup.json, extending the base config with test file exclusions.

@hanna-skryl hanna-skryl self-assigned this Jan 6, 2026
@nx-cloud
Copy link

nx-cloud bot commented Jan 6, 2026

View your CI Pipeline Execution ↗ for commit 1e9b555

Command Status Duration Result
nx run ci:code-pushup -- merge-diffs --files=/h... ✅ Succeeded 5s View ↗
nx run-many --targets=code-pushup --parallel=fa... ✅ Succeeded 1m 24s View ↗
nx run-many --targets=code-pushup --parallel=fa... ✅ Succeeded 12m 10s View ↗
nx run-many -t unit-test,int-test ✅ Succeeded 7s View ↗

☁️ Nx Cloud last updated this comment at 2026-01-06 17:32:24 UTC

@pkg-pr-new
Copy link

pkg-pr-new bot commented Jan 6, 2026

Open in StackBlitz

@code-pushup/ci

npm i https://pkg.pr.new/code-pushup/cli/@code-pushup/ci@1205

@code-pushup/cli

npm i https://pkg.pr.new/code-pushup/cli/@code-pushup/cli@1205

@code-pushup/core

npm i https://pkg.pr.new/code-pushup/cli/@code-pushup/core@1205

@code-pushup/create-cli

npm i https://pkg.pr.new/code-pushup/cli/@code-pushup/create-cli@1205

@code-pushup/models

npm i https://pkg.pr.new/code-pushup/cli/@code-pushup/models@1205

@code-pushup/nx-plugin

npm i https://pkg.pr.new/code-pushup/cli/@code-pushup/nx-plugin@1205

@code-pushup/axe-plugin

npm i https://pkg.pr.new/code-pushup/cli/@code-pushup/axe-plugin@1205

@code-pushup/eslint-plugin

npm i https://pkg.pr.new/code-pushup/cli/@code-pushup/eslint-plugin@1205

@code-pushup/coverage-plugin

npm i https://pkg.pr.new/code-pushup/cli/@code-pushup/coverage-plugin@1205

@code-pushup/js-packages-plugin

npm i https://pkg.pr.new/code-pushup/cli/@code-pushup/js-packages-plugin@1205

@code-pushup/jsdocs-plugin

npm i https://pkg.pr.new/code-pushup/cli/@code-pushup/jsdocs-plugin@1205

@code-pushup/lighthouse-plugin

npm i https://pkg.pr.new/code-pushup/cli/@code-pushup/lighthouse-plugin@1205

@code-pushup/typescript-plugin

npm i https://pkg.pr.new/code-pushup/cli/@code-pushup/typescript-plugin@1205

@code-pushup/utils

npm i https://pkg.pr.new/code-pushup/cli/@code-pushup/utils@1205

commit: 1e9b555

@github-actions
Copy link
Contributor

github-actions bot commented Jan 6, 2026

Code PushUp

🤨 Code PushUp report has both improvements and regressions – compared current commit af51155 with previous commit 1933055.

🕵️ See full comparison in Code PushUp portal 🔍

🏷️ Categories

🏷️ Category ⭐ Previous score ⭐ Current score 🔄 Score change
Type Safety 🟡 56 🟡 67 ↑ +11.1
Bug prevention 🟡 67 🟡 75 ↑ +8.3
Performance 🔴 36 🔴 38 ↑ +1.8
Axe Accessibility 🟡 88 🟡 88 ↓ −0.1
Documentation 🔴 36 🔴 36 ↓ −0.1
Code style 🟢 99 🟢 99
Code coverage 🟢 91 🟢 91
Security 🟡 51 🟡 51
Updates 🟡 79 🟡 79
Miscellaneous 🟡 67 🟡 67
Accessibility 🟢 92 🟢 92
Best Practices 🟢 100 🟢 100
SEO 🟢 92 🟢 92
👍 2 groups improved, 👎 1 group regressed, 👍 5 audits improved, 16 audits changed without impacting score

🗃️ Groups

🔌 Plugin 🗃️ Group ⭐ Previous score ⭐ Current score 🔄 Score change
TypeScript Problems 🔴 0 🔴 33 ↑ +33.3
Lighthouse Performance 🔴 36 🔴 38 ↑ +1.8
JSDocs coverage Documentation coverage 🔴 36 🔴 36 ↓ −0.1

31 other groups are unchanged.

🛡️ Audits

🔌 Plugin 🛡️ Audit 📏 Previous value 📏 Current value 🔄 Value change
TypeScript No implicit any errors 🟥 95 errors 🟩 passed ↓ −100 %
Lighthouse Speed Index 🟥 6.5 s 🟥 6.0 s ↓ −7.5 %
Lighthouse Total Blocking Time 🟥 1,880 ms 🟥 1,580 ms ↓ −15.9 %
Lighthouse First Contentful Paint 🟥 3.2 s 🟥 3.1 s ↓ −1.3 %
Lighthouse Time to Interactive 🟥 13.2 s 🟥 12.8 s ↓ −3 %
Lighthouse Minimizes main-thread work 🟥 9.6 s 🟥 6.6 s ↓ −30.9 %
TypeScript Semantic errors 🟥 2590 errors 🟥 25 errors ↓ −99 %
Lighthouse JavaScript execution time 🟥 4.6 s 🟥 3.2 s ↓ −30.1 %
Lighthouse Metrics 🟩 100% 🟩 100% ↓ −3 %
Lighthouse Reduce unused CSS 🟥 Potential savings of 95 KiB 🟥 Potential savings of 95 KiB ↑ +106.3 %
Lighthouse Avoids enormous network payloads 🟩 Total size was 2,112 KiB 🟩 Total size was 2,112 KiB ↓ −0.1 %
Lighthouse Uses efficient cache policy on static assets 🟨 31 resources found 🟨 31 resources found ↑ +0.1 %
Lighthouse Max Potential First Input Delay 🟥 1,080 ms 🟥 870 ms ↓ −20 %
Lighthouse Largest Contentful Paint 🟥 11.2 s 🟥 11.1 s ↓ −1.4 %
Lighthouse Server Backend Latencies 🟩 980 ms 🟩 1,120 ms ↑ +13.7 %
Lighthouse Reduce unused JavaScript 🟥 Potential savings of 220 KiB 🟥 Potential savings of 219 KiB ↑ +4.5 %
Lighthouse Initial server response time was short 🟩 Root document took 460 ms 🟩 Root document took 500 ms ↑ +9.3 %
Lighthouse Remove duplicate modules in JavaScript bundles 🟥 Potential savings of 104 KiB 🟥 Potential savings of 105 KiB ↑ +6.4 %
Lighthouse Network Round Trip Times 🟩 30 ms 🟩 50 ms ↑ +102.5 %
Lighthouse Cumulative Layout Shift 🟩 0 🟩 0.003 ↑ +∞ %
Code coverage Branch coverage 🟨 87.3 % 🟨 87.3 % ↑ +0.1 %

658 other audits are unchanged.

@github-actions
Copy link
Contributor

github-actions bot commented Jan 6, 2026

Code PushUp

😐 Code PushUp report is unchanged – compared current commit af51155 with previous commit 1933055.


All of 14 projects are unchanged.

@hanna-skryl hanna-skryl marked this pull request as ready for review January 6, 2026 17:32
@hanna-skryl hanna-skryl merged commit bf008fd into main Jan 6, 2026
25 checks passed
@hanna-skryl hanna-skryl deleted the fix/typescript-plugin-exclude-test-files branch January 6, 2026 18:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

TypeScript plugin reports false errors for test files in standalone mode

3 participants