mirror of
https://github.com/lingble/chatwoot.git
synced 2025-10-29 18:22:53 +00:00
- Switch to pnpm based build - Switch circleci from docker to machine to have more memory - Fix frontend and backend tests Fixes https://linear.app/chatwoot/issue/CW-3610/fix-circle-ci-for-vite-build --------- Co-authored-by: Shivam Mishra <scm.mymail@gmail.com> Co-authored-by: Pranav <pranavrajs@gmail.com> Co-authored-by: Pranav <pranav@chatwoot.com>
18 lines
487 B
JavaScript
18 lines
487 B
JavaScript
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>' },
|
|
WootButton: { template: '<button><slot/></button>' },
|
|
};
|