Skip to content

[tests] refactor translation tests#3866

Merged
khassel merged 8 commits intoMagicMirrorOrg:developfrom
KristjanESPERANTO:ref_translations_tests
Aug 28, 2025
Merged

[tests] refactor translation tests#3866
khassel merged 8 commits intoMagicMirrorOrg:developfrom
KristjanESPERANTO:ref_translations_tests

Conversation

@KristjanESPERANTO
Copy link
Collaborator

  • Remove sinon dependency in favor of Jest native mocking
  • Unify test helper functions across translation test suites
  • Rename setupDOMEnvironment to createTranslationTestEnvironment for consistency
  • Simplify DOM setup by removing unnecessary Promise/async patterns
  • Avoid potential port conflicts by using port 3001 for translator unit tests
  • Improve test reliability and maintainability

@khassel khassel merged commit 4c0a468 into MagicMirrorOrg:develop Aug 28, 2025
12 of 13 checks passed
@KristjanESPERANTO KristjanESPERANTO deleted the ref_translations_tests branch August 28, 2025 21:40
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