chore: Update specs and warnings in console (#7467)

This commit is contained in:
Pranav Raj S
2023-07-05 18:32:55 -07:00
committed by GitHub
parent 3054a4cb59
commit 4e8d17f017
12 changed files with 101 additions and 122 deletions

View File

@@ -4,11 +4,7 @@ import GoogleOAuthButton from './Button.vue';
function getWrapper(showSeparator) {
return shallowMount(GoogleOAuthButton, {
propsData: { showSeparator: showSeparator },
methods: {
$t(text) {
return text;
},
},
mocks: { $t: text => text },
});
}