Browse Source

chore(gui-v2,test): install i18n as plugin instead of mocking

Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
pull/2716/head
Braks 2 years ago committed by Pranav C
parent
commit
ee28ec167c
  1. 5
      packages/nc-gui-v2/components/general/Sponsors.test.ts

5
packages/nc-gui-v2/components/general/Sponsors.test.ts

@ -10,10 +10,7 @@ const mountComponent = async (nav: boolean) => {
const wrapper = mount(Sponsors, {
global: {
plugins: [vuetify],
mocks: {
$t: i18n.global.t,
},
plugins: [vuetify, i18n],
},
props: {
nav,

Loading…
Cancel
Save