This MR addresses several Vue warnings in unit tests:
[Vue warn]: (deprecation RENDER_FUNCTION) Vue 3's render function API has changed.
This is fixed by configuring compat config in beforeEach hook as below:
configureCompat({
RENDER_FUNCTION: false,
});
[Vue warn]: (deprecation ATTR_FALSE_VALUE) Attribute "rtl" with v-bind value false will render rtl="false" instead of removing it in Vue 3. To remove the attribute, use null or undefined instead.
This is fixed by configuring compat config in beforeEach hook as below
This MR addresses several Vue warnings in unit tests:
This is fixed by configuring compat config in beforeEach hook as below:
false
will render rtl="false" instead of removing it in Vue 3. To remove the attribute, usenull
orundefined
instead.This is fixed by configuring compat config in beforeEach hook as below
This is fixed it by refactoring
EventBus
file. Removednew Vue()
and created a native EventEmitter instance.