Skip to content

Conversation

@compulim
Copy link
Contributor

@compulim compulim commented Dec 12, 2025

Fixes #

Changelog Entry

Removed

  • Removed legacy test harness, in PR #5655, by @compulim
    • All tests are now either using html2 test harness or simple unit tests
    • Legacy and html (html1) test harness are all migrated to html2

Description

As we migrated all tests to html2 test infrastructure, this PR will clean up test harness for legacy and html1 tests.

Design

Specific Changes

  • Separated jest.config.json into html.setup/jest.config.json and unit.setup/jest.config.json
  • Separated setup into html.setup and unit.setup
  • Merged LOCALIZATION.md and doc/LOCALIZATION.md
  • I have added tests and executed them locally
  • I have updated CHANGELOG.md
  • I have updated documentation

Review Checklist

This section is for contributors to review your work.

  • Accessibility reviewed (tab order, content readability, alt text, color contrast)
  • Browser and platform compatibilities reviewed
  • CSS styles reviewed (minimal rules, no z-index)
  • Documents reviewed (docs, samples, live demo)
  • Internationalization reviewed (strings, unit formatting)
  • package.json and package-lock.json reviewed
  • Security reviewed (no data URIs, check for nonce leak)
  • Tests reviewed (coverage, legitimacy)

@compulim compulim marked this pull request as ready for review December 13, 2025 00:10
@compulim compulim changed the title [WIP] Clean up legacy test framework Clean up legacy test framework Dec 13, 2025
customDiffConfig: {
threshold: 0.06
},
noColors: true
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why no colors? I had one snapshot without theme applied because of this 🤣

Copy link
Contributor Author

Choose a reason for hiding this comment

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

noColors: Removes coloring from console output, useful if storing the results in a file

It's about ANSI color. 🤣

@compulim compulim merged commit b758ff8 into main Dec 15, 2025
52 of 54 checks passed
@compulim compulim deleted the cleanup-test branch December 15, 2025 21:25
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