Linter fixes
This commit is contained in:
parent
2aa553c6d5
commit
5333680a32
4 changed files with 25 additions and 25 deletions
|
@ -50,18 +50,18 @@ describe('alerts reducer', () => {
|
||||||
// });
|
// });
|
||||||
|
|
||||||
it('should handle ALERT_CLEAR', () => {
|
it('should handle ALERT_CLEAR', () => {
|
||||||
const state = ImmutableList([
|
const state = ImmutableList([
|
||||||
{
|
{
|
||||||
key: 0,
|
key: 0,
|
||||||
message: 'message_1',
|
message: 'message_1',
|
||||||
title: 'title_1',
|
title: 'title_1',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 1,
|
key: 1,
|
||||||
message: 'message_2',
|
message: 'message_2',
|
||||||
title: 'title_2',
|
title: 'title_2',
|
||||||
},
|
},
|
||||||
]);
|
]);
|
||||||
const action = {
|
const action = {
|
||||||
type: actions.ALERT_CLEAR,
|
type: actions.ALERT_CLEAR,
|
||||||
};
|
};
|
||||||
|
|
|
@ -206,16 +206,16 @@ describe('notifications reducer', () => {
|
||||||
};
|
};
|
||||||
expect(reducer(state, action)).toEqual(ImmutableMap({
|
expect(reducer(state, action)).toEqual(ImmutableMap({
|
||||||
items: ImmutableList([
|
items: ImmutableList([
|
||||||
ImmutableMap({
|
ImmutableMap({
|
||||||
id: '10743',
|
id: '10743',
|
||||||
type: 'favourite',
|
type: 'favourite',
|
||||||
account: '9v5c6xSEgAi3Zu1Lv6',
|
account: '9v5c6xSEgAi3Zu1Lv6',
|
||||||
created_at: '2020-06-10T02:51:05.000Z',
|
created_at: '2020-06-10T02:51:05.000Z',
|
||||||
status: '9vvNxoo5EFbbnfdXQu',
|
status: '9vvNxoo5EFbbnfdXQu',
|
||||||
emoji: undefined,
|
emoji: undefined,
|
||||||
is_seen: true,
|
is_seen: true,
|
||||||
}),
|
}),
|
||||||
]),
|
]),
|
||||||
top: false,
|
top: false,
|
||||||
unread: 2,
|
unread: 2,
|
||||||
}));
|
}));
|
||||||
|
|
|
@ -173,11 +173,11 @@
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
overlow: hidden;
|
overlow: hidden;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
background: hsl( var(--brand-color_h), var(--brand-color_s), 20% );
|
background: hsl(var(--brand-color_h), var(--brand-color_s), 20%);
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
|
|
||||||
&__label {
|
&__label {
|
||||||
color: white;
|
color: #ffffff;
|
||||||
}
|
}
|
||||||
|
|
||||||
button {
|
button {
|
||||||
|
|
|
@ -260,7 +260,7 @@
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 0;
|
right: 0;
|
||||||
top: -49px;
|
top: -49px;
|
||||||
|
|
||||||
@media screen and (max-width: $nav-breakpoint-2) {
|
@media screen and (max-width: $nav-breakpoint-2) {
|
||||||
top: -35px;
|
top: -35px;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
|
|
Loading…
Reference in a new issue