Skip to content

Explicitly pass name to createMockDirective

What does this MR do and why?

Vue 3 does not expose the name of the directive on the binding, so we must explicitly pass a name to createMockDirective when setting up a mock.

This is to assist with the slow migration to Vue 3.

Screenshots or screen recordings

TEST CHANGES ONLY

How to set up and validate locally

  1. Set up GDK/GCK
  2. Run yarn jest
  3. Patience

MR acceptance checklist

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

Merge request reports