Created
April 19, 2024 07:19
-
-
Save Hyphon/bc3b322543f3e132a995136c482fd30b to your computer and use it in GitHub Desktop.
stub $t (vue-i18n) within Vue-Test-Utils
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const wrapper = mount(MyComponent, { | |
mocks: { | |
$t: (msg) => msg | |
} | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment