Skip to content

tests: Update msw to latest and migrate all tests to match

Cory Massaro requested to merge apine-msw-2 into main
  • Move mockUtils; move setupServer to mockUtils.
  • git mv all src/ tests to test/src.
  • Update all services tests to use the new service worker; start moving test data to separate directories.
  • Replace bare objects in evaluator/MW stubs with Maps.
  • Run stub setup inside of test fixtures.
  • Lint it.
  • Omit benchmarks from main test suite; they break it.
  • Fix the casualties.
  • Fix benchmarks and lint again.

Bug: T351414

Edited by Jforrester

Merge request reports