Skip to content

chore(infra/test): migrate to vitest workspace#1827

Merged
Timeless0911 merged 3 commits intomainfrom
migrate-workspace-vitest
Feb 8, 2025
Merged

chore(infra/test): migrate to vitest workspace#1827
Timeless0911 merged 3 commits intomainfrom
migrate-workspace-vitest

Conversation

@SoonIter
Copy link
Copy Markdown
Member

@SoonIter SoonIter commented Feb 8, 2025

Summary

  1. migrate pnpm --filter './packages/*' run test to npx vitest once

the same as Rsbuild repo

as simple as possible and 8x faster 8s -> 1s

before

image

after

image
  1. remove all the tsconfig @/ alias

It serves no purpose other than adding unnecessary mental burden

Related Issue

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).

@netlify
Copy link
Copy Markdown

netlify Bot commented Feb 8, 2025

Deploy Preview for aquamarine-blini-95325f ready!

Name Link
🔨 Latest commit 355f30f
🔍 Latest deploy log https://app.netlify.com/sites/aquamarine-blini-95325f/deploys/67a70da7b667340009a3da44
😎 Deploy Preview https://deploy-preview-1827--aquamarine-blini-95325f.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 56 (🔴 down 22 from production)
Accessibility: 97 (no change from production)
Best Practices: 92 (no change from production)
SEO: 100 (no change from production)
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify site configuration.

@SoonIter SoonIter changed the title chore(infra): migrate to vitest workspace chore(infra/test): migrate to vitest workspace Feb 8, 2025
@Timeless0911 Timeless0911 merged commit 7bb9f96 into main Feb 8, 2025
@Timeless0911 Timeless0911 deleted the migrate-workspace-vitest branch February 8, 2025 09:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants