Skip to content

Fix slow test `ee_mr_widget_options_spec.js`

Paul Slaughter requested to merge 291742-fix-slow-ee-mr-widget-options-spec into master

What does this MR do?

This MR fixes some some spec timeouts in ee_mr_widget_options_spec.js #291742 (closed) by using the workaround outlined in !48956 (merged).

The problem, as witnessed in other specs #280809 (closed), when we async import modules, Jest will need to transpile these at runtime as oppose to Jest's test compile-time. Depending on the module and whether we're full mounting or shallow mounting, this can cause things to blow up.

Does this MR meet the acceptance criteria?

Conformity

References

Related to #291742 (closed)

Edited by Paul Slaughter

Merge request reports

Loading