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

[@lume/cli] migrate to @web/test-runner instead of Karma #268

Open
trusktr opened this issue Jul 2, 2023 · 1 comment
Open

[@lume/cli] migrate to @web/test-runner instead of Karma #268

trusktr opened this issue Jul 2, 2023 · 1 comment

Comments

@trusktr
Copy link
Member

trusktr commented Jul 2, 2023

Karma is deprecated and no longer maintained.

@web/test-runner is more modern, simpler to set up, easier to use, nice terminal interface. I've had a blast testing with it. There's also an official package for visual snapshots, which will be great for testing rendering (something Lume does a lot of).

Possibly breaking: this might require change in test code.

@trusktr trusktr changed the title [@lume/cli] Add an option for testing in @web/test-runner instead of Karma [@lume/cli] migrate to @web/test-runner instead of Karma Oct 16, 2023
@trusktr
Copy link
Member Author

trusktr commented Oct 16, 2023

Here's how to use vanilla ES modules in Karma, in case we want to do this first as a step to simplify our dependencies and tooling before we get to moving to web test runner:

karma-runner/karma#3335 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant