Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test(test-setup): add custom path matcher to vitest, add tests #876

Open
wants to merge 18 commits into
base: main
Choose a base branch
from

Conversation

BioPhoton
Copy link
Collaborator

No description provided.

Copy link

github-actions bot commented Nov 19, 2024

Code PushUp

😟 Code PushUp report has regressed – compared target commit 8b54817 with source commit 2a05a16.

🕵️ See full comparison in Code PushUp portal 🔍

🏷️ Categories

🏷️ Category ⭐ Previous score ⭐ Current score 🔄 Score change
Performance 🟡 58 🔴 46 ↓ −12.5
Code coverage 🟢 91 🟢 91 ↓ −0.1
Security 🟡 81 🟡 81
Updates 🟡 80 🟡 80
Accessibility 🟢 91 🟢 91
Best Practices 🟢 100 🟢 100
SEO 🟡 61 🟡 61
Bug prevention 🟢 100 🟢 100
Code style 🟢 100 🟢 100
👎 2 groups regressed, 👎 7 audits regressed, 13 audits changed without impacting score

🗃️ Groups

🔌 Plugin 🗃️ Group ⭐ Previous score ⭐ Current score 🔄 Score change
Lighthouse Performance 🟡 58 🔴 46 ↓ −12.5
Code coverage Code coverage metrics 🟢 91 🟢 91 ↓ −0.1

15 other groups are unchanged.

🛡️ Audits

🔌 Plugin 🛡️ Audit 📏 Previous value 📏 Current value 🔄 Value change
Lighthouse Speed Index 🟨 4.5 s 🟥 6.9 s ↑ +55 %
Lighthouse Largest Contentful Paint 🟨 3.1 s 🟨 3.9 s ↑ +25.2 %
Lighthouse Time to Interactive 🟥 10.7 s 🟥 18.0 s ↑ +68.7 %
Lighthouse First Contentful Paint 🟨 3.0 s 🟥 3.2 s ↑ +8.4 %
Lighthouse Total Blocking Time 🟥 2,080 ms 🟥 9,580 ms ↑ +361.2 %
Code coverage Line coverage 🟩 90.9 % 🟩 90.5 % ↓ −0.4 %
Code coverage Branch coverage 🟨 85.8 % 🟨 85.6 % ↓ −0.1 %
Lighthouse Minimizes main-thread work 🟥 11.3 s 🟥 23.6 s ↑ +109.6 %
Lighthouse JavaScript execution time 🟥 4.2 s 🟥 12.7 s ↑ +199.9 %
Lighthouse Avoids enormous network payloads 🟩 Total size was 1,816 KiB 🟩 Total size was 1,824 KiB ↑ +0.4 %
Lighthouse Metrics 🟩 100% 🟩 100% ↑ +68.7 %
Lighthouse Max Potential First Input Delay 🟥 1,130 ms 🟥 3,890 ms ↑ +244.7 %
Lighthouse Uses efficient cache policy on static assets 🟨 28 resources found 🟨 28 resources found ↑ +0.1 %
Lighthouse Eliminate render-blocking resources 🟥 Potential savings of 1,260 ms 🟥 Potential savings of 1,020 ms ↓ −19 %
Lighthouse Server Backend Latencies 🟩 140 ms 🟩 330 ms ↑ +134.8 %
Lighthouse Network Round Trip Times 🟩 40 ms 🟩 60 ms ↑ +27.9 %
Lighthouse Initial server response time was short 🟩 Root document took 360 ms 🟩 Root document took 360 ms ↓ −1.8 %
Lighthouse Avoid large layout shifts 🟩 1 layout shift found 🟩 0 ↓ −100 %
Lighthouse Avoids an excessive DOM size 🟥 2,133 elements 🟥 2,134 elements ↑ +0.1 %
Lighthouse Cumulative Layout Shift 🟩 0 🟩 0 ↓ −100 %

568 other audits are unchanged.

@BioPhoton BioPhoton marked this pull request as ready for review December 10, 2024 18:24
@BioPhoton BioPhoton requested a review from matejchalk December 10, 2024 18:24
@BioPhoton BioPhoton enabled auto-merge (squash) December 10, 2024 18:25
testing/test-setup/vite.config.unit.ts Outdated Show resolved Hide resolved
testing/test-setup/src/lib/extend/path.matcher.ts Outdated Show resolved Hide resolved
testing/test-setup/src/lib/extend/path.matcher.ts Outdated Show resolved Hide resolved
testing/test-setup/src/lib/extend/path.matcher.ts Outdated Show resolved Hide resolved
testing/test-setup/src/lib/extend/path.matcher.ts Outdated Show resolved Hide resolved
testing/test-setup/src/lib/extend/path.matcher.ts Outdated Show resolved Hide resolved
testing/test-setup/src/vitest.d.ts Outdated Show resolved Hide resolved
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.

2 participants