Skip to content

chore(vue3): use alternate syntax for default scoped slot in test

Illya Klymov requested to merge xanf-road2vue3-daterange-picker-spec into main

What does this MR do?

slots is a major pain point in vue2 -> vue3 migration in terms of tests. Default scoped slots is even a bigger one

This is the syntax which works both for @vue/test-utils v1 and @vue/test-utils v2 with @vue/compat

This is forward-compatible change to support @vue/compat #1981 (closed)

Does this MR meet the acceptance criteria?

Conformity

Edited by Illya Klymov

Merge request reports