refs #843 Fix code style for mentions
This commit is contained in:
parent
efc41b283b
commit
8414e22b96
|
@ -69,7 +69,7 @@ describe('Mentions', () => {
|
||||||
}
|
}
|
||||||
|
|
||||||
Mastodon.mockImplementation(() => mockClient)
|
Mastodon.mockImplementation(() => mockClient)
|
||||||
const mentions = await store.dispatch('Mentions/fetchMentions')
|
await store.dispatch('Mentions/fetchMentions')
|
||||||
expect(store.state.Mentions.mentions).toEqual([
|
expect(store.state.Mentions.mentions).toEqual([
|
||||||
{ id: 1, type: 'mention' },
|
{ id: 1, type: 'mention' },
|
||||||
{ id: 2, type: 'favourite' },
|
{ id: 2, type: 'favourite' },
|
||||||
|
@ -137,7 +137,7 @@ describe('Mentions', () => {
|
||||||
}
|
}
|
||||||
|
|
||||||
Mastodon.mockImplementation(() => mockClient)
|
Mastodon.mockImplementation(() => mockClient)
|
||||||
const mentions = await store.dispatch('Mentions/lazyFetchMentions', { id: 1 })
|
await store.dispatch('Mentions/lazyFetchMentions', { id: 1 })
|
||||||
expect(store.state.Mentions.mentions).toEqual([
|
expect(store.state.Mentions.mentions).toEqual([
|
||||||
{ id: 1, type: 'mention' },
|
{ id: 1, type: 'mention' },
|
||||||
{ id: 2, type: 'favourite' },
|
{ id: 2, type: 'favourite' },
|
||||||
|
|
|
@ -203,7 +203,7 @@ export default {
|
||||||
right: 24px;
|
right: 24px;
|
||||||
top: 48px;
|
top: 48px;
|
||||||
background-color: rgba(0, 0, 0, 0.7);
|
background-color: rgba(0, 0, 0, 0.7);
|
||||||
color: #ffffff;
|
color: #fff;
|
||||||
padding: 4px 8px;
|
padding: 4px 8px;
|
||||||
border-radius: 0 0 2px 2px;
|
border-radius: 0 0 2px 2px;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue