Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch from Karma to Web Test Runner #1884

Draft
wants to merge 7 commits into
base: master
Choose a base branch
from

Commits on Aug 5, 2024

  1. Avoid polluting global namespace

    With modules, this is now considered bad form.
    CendioOssman committed Aug 5, 2024
    Configuration menu
    Copy the full SHA
    870c24d View commit details
    Browse the repository at this point in the history
  2. Explicitly import test support routines

    This gives us a strong ordering, and clear dependencies, which is needed
    in other test runners.
    CendioOssman committed Aug 5, 2024
    Configuration menu
    Copy the full SHA
    236fa87 View commit details
    Browse the repository at this point in the history
  3. TEMP: Switch to web-test-runner

    Karma is deprecated, so switch to something that is still maintained.
    CendioOssman committed Aug 5, 2024
    Configuration menu
    Copy the full SHA
    88e95cb View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    edb5dde View commit details
    Browse the repository at this point in the history
  5. Silence logging during tests

    It's even more in the way now with the new test runner, so let's silence
    it in the tests that log things.
    CendioOssman committed Aug 5, 2024
    Configuration menu
    Copy the full SHA
    f412a88 View commit details
    Browse the repository at this point in the history
  6. Quickly abort hung tests

    The default timeout is an absurd two minutes. Let's try to be more
    responsive.
    CendioOssman committed Aug 5, 2024
    Configuration menu
    Copy the full SHA
    9a4beb6 View commit details
    Browse the repository at this point in the history
  7. TEMP: fail a test

    CendioOssman committed Aug 5, 2024
    Configuration menu
    Copy the full SHA
    9ddd716 View commit details
    Browse the repository at this point in the history