Skip to content

Wait for axios mock in spec

Illya Klymov requested to merge xanf-vtu-30-wait into master

What does this MR do?

@vue/test-utils is changing its internal implementation to sync operation in certain scenarios.

This forces us to explicitly wait for promises to resolve (promise we're waiting for is:

mockAxios.onPost(validateQueryPath).reply(validQueryResponse);

Closes #122859 (closed)

Conformity

Edited by Illya Klymov

Merge request reports