Skip to content

Remove Jest test callback from Vuex helper

Vitaly Slobodin requested to merge vs/remove-jest-test-callback-vuex-helper into master

What does this MR do and why?

Jest 27 does not support the test callback anymore so the following code is no longer valid:

it('test', (done) => { /* code */ })

This merge request is a part of our upgrade process to Jest 27 - &7002

And this particular merge request updates our Vuex helper function by removing the done argument from it.

Screenshots or screen recordings

These are strongly recommended to assist reviewers and reduce the time to merge your change.

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Vitaly Slobodin

Merge request reports