Skip to content

👷 Migrate unit tests to Vitest - #4874

Draft
rgaignault wants to merge 3 commits into
mainfrom
roman.gaignault/finish-vitest-migration
Draft

👷 Migrate unit tests to Vitest#4874
rgaignault wants to merge 3 commits into
mainfrom
roman.gaignault/finish-vitest-migration

Conversation

@rgaignault

Copy link
Copy Markdown
Contributor

Summary

This replaces the Karma unit test setup with Vitest Browser Mode and updates local testing, CI, coverage, and BrowserStack execution accordingly.

Testing

  • yarn test:unit --seed 123
  • yarn lint

@datadog-datadog-prod-us1-2

datadog-datadog-prod-us1-2 Bot commented Jul 13, 2026

Copy link
Copy Markdown

Pipelines  Tests

Unblock PR with BitsAI

⚠️ Warnings

🚦 5 Pipeline jobs failed

DataDog/browser-sdk | check-staging-merge   View in Datadog   GitLab

DataDog/browser-sdk | unit-bs: [firefox]   View in Datadog   GitLab

DataDog/browser-sdk | unit-bs: [chrome-desktop]   View in Datadog   GitLab

View all 5 failed jobs.

ℹ️ Info

No other issues found (see more)

🧪 All tests passed
❄️ No new flaky tests detected

🎯 Code Coverage (details)
Patch Coverage: 62.76%
Overall Coverage: 74.01% (-3.23%)

Useful? React with 👍 / 👎

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: b15b5d5 | Docs | Datadog PR Page | Give us feedback!

@cit-pr-commenter-54b7da

Copy link
Copy Markdown

Bundles Sizes Evolution

📦 Bundle Name Base Size Local Size 𝚫 𝚫% Status
Rum 178.22 KiB 178.22 KiB 0 B 0.00%
Rum Profiler 8.22 KiB 8.22 KiB 0 B 0.00%
Rum Recorder 21.12 KiB 21.12 KiB 0 B 0.00%
Logs 55.53 KiB 55.53 KiB 0 B 0.00%
Rum Slim 136.28 KiB 136.28 KiB 0 B 0.00%
Worker 22.96 KiB 22.96 KiB 0 B 0.00%

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.

1 participant