forked from verdnatura/salix-front
chore: refs #7197 fix unit tests
This commit is contained in:
parent
8957141222
commit
cc203022d2
|
@ -156,6 +156,7 @@ select:-webkit-autofill {
|
|||
overflow: hidden;
|
||||
max-width: 80px;
|
||||
}
|
||||
|
||||
.tr-header {
|
||||
color: var(--vn-label-color);
|
||||
}
|
||||
|
|
|
@ -6,6 +6,7 @@ import { i18n } from 'src/boot/i18n';
|
|||
import { Notify, Dialog } from 'quasar';
|
||||
import axios from 'axios';
|
||||
import * as useValidator from 'src/composables/useValidator';
|
||||
import { onBeforeRouteLeave } from 'vue-router';
|
||||
|
||||
installQuasarPlugin({
|
||||
plugins: {
|
||||
|
@ -38,6 +39,7 @@ vi.mock('vue-router', () => ({
|
|||
meta: { moduleName: 'mockName' },
|
||||
path: 'mockSection/list',
|
||||
}),
|
||||
onBeforeRouteLeave: () => {},
|
||||
}));
|
||||
|
||||
vi.mock('axios');
|
||||
|
|
Loading…
Reference in New Issue