--fix
This commit is contained in:
parent
0cbfcb99a9
commit
fddb531ed2
133 changed files with 507 additions and 448 deletions
|
|
@ -29,7 +29,7 @@ const generateInput = (value, padEmoji = true) => {
|
|||
modelValue: value
|
||||
},
|
||||
slots: {
|
||||
'default': () => h('input', '')
|
||||
default: () => h('input', '')
|
||||
}
|
||||
})
|
||||
return wrapper
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ import RichContent from 'src/components/rich_content/rich_content.jsx'
|
|||
const attentions = []
|
||||
const global = {
|
||||
mocks: {
|
||||
'$store': {
|
||||
$store: {
|
||||
state: {},
|
||||
getters: {
|
||||
mergedConfig: () => ({
|
||||
|
|
|
|||
|
|
@ -163,7 +163,7 @@ const localProfileStore = createStore({
|
|||
currentUser: {
|
||||
credentials: ''
|
||||
},
|
||||
usersObject: { 100: localUser, 'testuser': localUser },
|
||||
usersObject: { 100: localUser, testuser: localUser },
|
||||
users: [localUser],
|
||||
relationships: {}
|
||||
}
|
||||
|
|
@ -175,7 +175,7 @@ describe.skip('UserProfile', () => {
|
|||
it('renders external profile', () => {
|
||||
const wrapper = mount(UserProfile, {
|
||||
global: {
|
||||
plugins: [ externalProfileStore ],
|
||||
plugins: [externalProfileStore],
|
||||
mocks: {
|
||||
$route: {
|
||||
params: { id: 100 },
|
||||
|
|
@ -192,7 +192,7 @@ describe.skip('UserProfile', () => {
|
|||
it('renders local profile', () => {
|
||||
const wrapper = mount(UserProfile, {
|
||||
global: {
|
||||
plugins: [ localProfileStore ],
|
||||
plugins: [localProfileStore],
|
||||
mocks: {
|
||||
$route: {
|
||||
params: { name: 'testUser' },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue