Improve testing for mediator pattern

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

  • Close this issue

The mediator pattern poses some issues when testing actions, as the testAction helper we use to test our actions doesn't use an actual Vuex store and thus doesn't know about the mediator at all, which makes it hard to fully test the flow for mutations that trigger other actions/mutations from the mediator.

We can still write specs for the mediator itself but doing this decouples the logic from the original action, which can lead to some regressions while refactoring code.

/cc @samdbeckham

Edited Sep 28, 2025 by 🤖 GitLab Bot 🤖
Assignee Loading
Time tracking Loading