Skip to content

Correctly fail Vuex action helper

Phil Hughes requested to merge vuex-action-helper-correctly-fail into master

Our Vuex test action helper was silently failing because it uses done(error) which will just finish the test without failing. This changes it to use done.fail(error) so that we correctly fail the test if there is an error.

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/44735

Edited by Filipa Lacerda

Merge request reports