fix tests
This commit is contained in:
parent
c0e2ba37c8
commit
cdc0959135
@ -5,7 +5,6 @@ describe('NotificationUtils', () => {
|
|||||||
it('should return sorted notifications with configured types', () => {
|
it('should return sorted notifications with configured types', () => {
|
||||||
const store = {
|
const store = {
|
||||||
state: {
|
state: {
|
||||||
statuses: {
|
|
||||||
notifications: {
|
notifications: {
|
||||||
data: [
|
data: [
|
||||||
{
|
{
|
||||||
@ -24,7 +23,6 @@ describe('NotificationUtils', () => {
|
|||||||
type: 'repeat'
|
type: 'repeat'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
|
||||||
},
|
},
|
||||||
config: {
|
config: {
|
||||||
notificationVisibility: {
|
notificationVisibility: {
|
||||||
@ -55,7 +53,6 @@ describe('NotificationUtils', () => {
|
|||||||
it('should return only notifications not marked as seen', () => {
|
it('should return only notifications not marked as seen', () => {
|
||||||
const store = {
|
const store = {
|
||||||
state: {
|
state: {
|
||||||
statuses: {
|
|
||||||
notifications: {
|
notifications: {
|
||||||
data: [
|
data: [
|
||||||
{
|
{
|
||||||
@ -69,7 +66,6 @@ describe('NotificationUtils', () => {
|
|||||||
seen: true
|
seen: true
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
|
||||||
},
|
},
|
||||||
config: {
|
config: {
|
||||||
notificationVisibility: {
|
notificationVisibility: {
|
||||||
|
Loading…
Reference in New Issue
Block a user