Skip to content

test: migrate interop spec from Karma to Vitest - #413

Merged
Aman-Mittal merged 1 commit into
apache:mainfrom
LE0-Lin:test/interop-vitest-migration
Aug 20, 2026
Merged

Aman-Mittal merged 1 commit into
apache:mainfrom
LE0-Lin:test/interop-vitest-migration

Conversation

@LE0-Lin

@LE0-Lin LE0-Lin commented Aug 20, 2026 •

Copy link
Copy Markdown
Contributor

What and why

Migrates the interop health component spec from the deprecated Karma/Jasmine runner to Vitest using the repository codemod. The migration is intentionally scoped to features/interop and preserves the existing three test cases and their behavior.

Part of #411

Verification

  • npm run test:unit — 31 files and 273 tests passed (previously 30 files and 270 tests)
  • npm test -- --watch=false — 918 tests passed (previously 921)
  • Total test count remained unchanged at 1,191
  • npm run lint
  • npm run format:check
  • node scripts/check-test-runner.mjs — 191 Karma specs remaining
  • npm run build
  • npm run check:icons
  • npm run i18n:check

Screenshots

Not applicable — test-runner migration only; no UI behavior changed.

Checklist

  • I did not hand-edit generated files under src/app/api/.
  • No component or service code changed; the adapter-boundary requirement is not applicable.
  • No user-facing strings changed.
  • The existing three interop health tests were migrated without semantic changes.
  • No UI workflow changed; e2e coverage is not applicable.
  • The commit is signed.

@LE0-Lin
LE0-Lin marked this pull request as ready for review August 20, 2026 10:30
@Aman-Mittal

Copy link
Copy Markdown
Member

@LE0-Lin pls upload your gpg key in github

This user has not yet uploaded their public signing key.
GPG key ID: A71FCC70EA76E183
Learn about vigilant mode

Only then i can merge

@LE0-Lin

LE0-Lin commented Aug 20, 2026

Copy link
Copy Markdown
Contributor Author

Thanks for pointing this out. I’ve uploaded the public GPG key associated with A71FCC70EA76E183. The existing commit is signed with this key.

@Aman-Mittal Aman-Mittal left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm and thanks for contribution

@Aman-Mittal
Aman-Mittal merged commit bcb0c07 into apache:main Aug 20, 2026
25 checks passed
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