Skip to content

Migrate from Karma to jasmine-browser-runner #13423

Description

@alexgibson

Description

Both Karma and Karma Runner are now deprecated: karma-runner/karma-jasmine#334

"For browser-based unit testing solutions, karma recommends Web Test Runner and jasmine-browser-runner."

It's probably worth us trying to migrate to jasmine-browser-runner, since our tests are already written using Jamsine.

https://jasmine.github.io/setup/browser.html

There's a tutorial here that is mainly React focused, however it includes an example of writing a webpack config to first compile tests before running them: https://jasmine.github.io/tutorials/react_with_browser

If things don't work out, then Web Test Runner is another option.


Success Criteria

  • Front-end tests are migrated from Karma to jasmine-browser-runner

Metadata

Metadata

Labels

FrontendHTML, CSS, JS... client side stuff

Type

No type

Fields

No fields configured for issues without a type.

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions