Skip to content
This repository has been archived by the owner on Jan 3, 2024. It is now read-only.

Commit

Permalink
Fix translations warning
Browse files Browse the repository at this point in the history
  • Loading branch information
lookacat committed Apr 20, 2022
1 parent 12224ba commit a596785
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@ import { createLocalVue, shallowMount } from "@vue/test-utils"
import GetTextPlugin from "vue-gettext"

const localVue = createLocalVue()
localVue.use(GetTextPlugin, { translations: {} })
localVue.use(GetTextPlugin, {
translations: 'does-not-matter.json',
silent: true
})

describe("OcContextualHelper", () => {
function getWrapperWithProps(props) {
Expand Down

0 comments on commit a596785

Please sign in to comment.