Restructure omni services and add Chatwoot research snapshot
This commit is contained in:
17
research/chatwoot/vitest.setup.js
Normal file
17
research/chatwoot/vitest.setup.js
Normal file
@@ -0,0 +1,17 @@
|
||||
import { config } from '@vue/test-utils';
|
||||
import { createI18n } from 'vue-i18n';
|
||||
import i18nMessages from 'dashboard/i18n';
|
||||
import FloatingVue from 'floating-vue';
|
||||
|
||||
const i18n = createI18n({
|
||||
legacy: false,
|
||||
locale: 'en',
|
||||
messages: i18nMessages,
|
||||
});
|
||||
|
||||
config.global.plugins = [i18n, FloatingVue];
|
||||
config.global.stubs = {
|
||||
WootModal: { template: '<div><slot/></div>' },
|
||||
WootModalHeader: { template: '<div><slot/></div>' },
|
||||
NextButton: { template: '<button><slot/></button>' },
|
||||
};
|
||||
Reference in New Issue
Block a user