From bf5db7d029bfa7afc424fd59d92c57b5594c2b30 Mon Sep 17 00:00:00 2001 From: AkiraFukushima Date: Sat, 13 Jul 2019 01:17:02 +0900 Subject: [PATCH] Fix specs since Status type is changed --- .../store/TimelineSpace/Contents/DirectMessages.spec.ts | 2 ++ .../store/TimelineSpace/Contents/Favourites.spec.ts | 2 ++ .../store/TimelineSpace/Contents/Hashtag/Tag.spec.ts | 2 ++ .../integration/store/TimelineSpace/Contents/Home.spec.ts | 2 ++ .../store/TimelineSpace/Contents/Lists/Show.spec.ts | 2 ++ .../integration/store/TimelineSpace/Contents/Local.spec.ts | 2 ++ .../integration/store/TimelineSpace/Contents/Mentions.spec.ts | 1 + .../store/TimelineSpace/Contents/Notifications.spec.ts | 3 +++ .../integration/store/TimelineSpace/Contents/Public.spec.ts | 2 ++ .../store/TimelineSpace/Contents/Search/Toots.spec.ts | 1 + .../unit/store/TimelineSpace/Contents/DirectMessages.spec.ts | 3 +++ .../unit/store/TimelineSpace/Contents/Hashtag/Tag.spec.ts | 3 +++ spec/renderer/unit/store/TimelineSpace/Contents/Home.spec.ts | 4 ++++ .../unit/store/TimelineSpace/Contents/Lists/Show.spec.ts | 3 +++ spec/renderer/unit/store/TimelineSpace/Contents/Local.spec.ts | 3 +++ .../unit/store/TimelineSpace/Contents/Mentions.spec.ts | 3 +++ .../unit/store/TimelineSpace/Contents/Notifications.spec.ts | 3 +++ .../renderer/unit/store/TimelineSpace/Contents/Public.spec.ts | 3 +++ 18 files changed, 44 insertions(+) diff --git a/spec/renderer/integration/store/TimelineSpace/Contents/DirectMessages.spec.ts b/spec/renderer/integration/store/TimelineSpace/Contents/DirectMessages.spec.ts index f5c596b2..1c8c210b 100644 --- a/spec/renderer/integration/store/TimelineSpace/Contents/DirectMessages.spec.ts +++ b/spec/renderer/integration/store/TimelineSpace/Contents/DirectMessages.spec.ts @@ -51,6 +51,7 @@ const status1: Status = { mentions: [], tags: [], card: null, + poll: null, application: { name: 'Web' } as Application, @@ -81,6 +82,7 @@ const status2: Status = { mentions: [], tags: [], card: null, + poll: null, application: { name: 'Web' } as Application, diff --git a/spec/renderer/integration/store/TimelineSpace/Contents/Favourites.spec.ts b/spec/renderer/integration/store/TimelineSpace/Contents/Favourites.spec.ts index 76d62464..799654ae 100644 --- a/spec/renderer/integration/store/TimelineSpace/Contents/Favourites.spec.ts +++ b/spec/renderer/integration/store/TimelineSpace/Contents/Favourites.spec.ts @@ -66,6 +66,7 @@ const status1: Status = { mentions: [], tags: [], card: null, + poll: null, application: { name: 'Web' } as Application, @@ -96,6 +97,7 @@ const status2: Status = { mentions: [], tags: [], card: null, + poll: null, application: { name: 'Web' } as Application, diff --git a/spec/renderer/integration/store/TimelineSpace/Contents/Hashtag/Tag.spec.ts b/spec/renderer/integration/store/TimelineSpace/Contents/Hashtag/Tag.spec.ts index 9a6a9ab9..3b253357 100644 --- a/spec/renderer/integration/store/TimelineSpace/Contents/Hashtag/Tag.spec.ts +++ b/spec/renderer/integration/store/TimelineSpace/Contents/Hashtag/Tag.spec.ts @@ -52,6 +52,7 @@ const status1: Status = { mentions: [], tags: [], card: null, + poll: null, application: { name: 'Web' } as Application, @@ -82,6 +83,7 @@ const status2: Status = { mentions: [], tags: [], card: null, + poll: null, application: { name: 'Web' } as Application, diff --git a/spec/renderer/integration/store/TimelineSpace/Contents/Home.spec.ts b/spec/renderer/integration/store/TimelineSpace/Contents/Home.spec.ts index f096c08d..2a56c15a 100644 --- a/spec/renderer/integration/store/TimelineSpace/Contents/Home.spec.ts +++ b/spec/renderer/integration/store/TimelineSpace/Contents/Home.spec.ts @@ -51,6 +51,7 @@ const status1: Status = { mentions: [], tags: [], card: null, + poll: null, application: { name: 'Web' } as Application, @@ -81,6 +82,7 @@ const status2: Status = { mentions: [], tags: [], card: null, + poll: null, application: { name: 'Web' } as Application, diff --git a/spec/renderer/integration/store/TimelineSpace/Contents/Lists/Show.spec.ts b/spec/renderer/integration/store/TimelineSpace/Contents/Lists/Show.spec.ts index a1528471..38075f73 100644 --- a/spec/renderer/integration/store/TimelineSpace/Contents/Lists/Show.spec.ts +++ b/spec/renderer/integration/store/TimelineSpace/Contents/Lists/Show.spec.ts @@ -53,6 +53,7 @@ const status1: Status = { mentions: [], tags: [], card: null, + poll: null, application: { name: 'Web' } as Application, @@ -84,6 +85,7 @@ const status2: Status = { mentions: [], tags: [], card: null, + poll: null, application: { name: 'Web' } as Application, diff --git a/spec/renderer/integration/store/TimelineSpace/Contents/Local.spec.ts b/spec/renderer/integration/store/TimelineSpace/Contents/Local.spec.ts index ef8314e9..5eb923d5 100644 --- a/spec/renderer/integration/store/TimelineSpace/Contents/Local.spec.ts +++ b/spec/renderer/integration/store/TimelineSpace/Contents/Local.spec.ts @@ -51,6 +51,7 @@ const status1: Status = { mentions: [], tags: [], card: null, + poll: null, application: { name: 'Web' } as Application, @@ -81,6 +82,7 @@ const status2: Status = { mentions: [], tags: [], card: null, + poll: null, application: { name: 'Web' } as Application, diff --git a/spec/renderer/integration/store/TimelineSpace/Contents/Mentions.spec.ts b/spec/renderer/integration/store/TimelineSpace/Contents/Mentions.spec.ts index c2a158e2..44fd9bc0 100644 --- a/spec/renderer/integration/store/TimelineSpace/Contents/Mentions.spec.ts +++ b/spec/renderer/integration/store/TimelineSpace/Contents/Mentions.spec.ts @@ -52,6 +52,7 @@ const status: Status = { mentions: [], tags: [], card: null, + poll: null, application: { name: 'Web' } as Application, diff --git a/spec/renderer/integration/store/TimelineSpace/Contents/Notifications.spec.ts b/spec/renderer/integration/store/TimelineSpace/Contents/Notifications.spec.ts index 550b4d0c..f9bb46c1 100644 --- a/spec/renderer/integration/store/TimelineSpace/Contents/Notifications.spec.ts +++ b/spec/renderer/integration/store/TimelineSpace/Contents/Notifications.spec.ts @@ -74,6 +74,7 @@ const status1: Status = { mentions: [], tags: [], card: null, + poll: null, application: { name: 'Web' } as Application, @@ -105,6 +106,7 @@ const status2: Status = { mentions: [], tags: [], card: null, + poll: null, application: { name: 'Web' } as Application, @@ -136,6 +138,7 @@ const rebloggedStatus: Status = { mentions: [], tags: [], card: null, + poll: null, application: { name: 'Web' } as Application, diff --git a/spec/renderer/integration/store/TimelineSpace/Contents/Public.spec.ts b/spec/renderer/integration/store/TimelineSpace/Contents/Public.spec.ts index 2874188b..56726d32 100644 --- a/spec/renderer/integration/store/TimelineSpace/Contents/Public.spec.ts +++ b/spec/renderer/integration/store/TimelineSpace/Contents/Public.spec.ts @@ -51,6 +51,7 @@ const status1: Status = { mentions: [], tags: [], card: null, + poll: null, application: { name: 'Web' } as Application, @@ -81,6 +82,7 @@ const status2: Status = { mentions: [], tags: [], card: null, + poll: null, application: { name: 'Web' } as Application, diff --git a/spec/renderer/integration/store/TimelineSpace/Contents/Search/Toots.spec.ts b/spec/renderer/integration/store/TimelineSpace/Contents/Search/Toots.spec.ts index da1455d1..19dde18e 100644 --- a/spec/renderer/integration/store/TimelineSpace/Contents/Search/Toots.spec.ts +++ b/spec/renderer/integration/store/TimelineSpace/Contents/Search/Toots.spec.ts @@ -52,6 +52,7 @@ const status: Status = { mentions: [], tags: [], card: null, + poll: null, application: { name: 'Web' } as Application, diff --git a/spec/renderer/unit/store/TimelineSpace/Contents/DirectMessages.spec.ts b/spec/renderer/unit/store/TimelineSpace/Contents/DirectMessages.spec.ts index f7a478f3..d976ecaa 100644 --- a/spec/renderer/unit/store/TimelineSpace/Contents/DirectMessages.spec.ts +++ b/spec/renderer/unit/store/TimelineSpace/Contents/DirectMessages.spec.ts @@ -46,6 +46,7 @@ const status1: Status = { mentions: [], tags: [], card: null, + poll: null, application: { name: 'Web' } as Application, @@ -76,6 +77,7 @@ const status2: Status = { mentions: [], tags: [], card: null, + poll: null, application: { name: 'Web' } as Application, @@ -130,6 +132,7 @@ describe('TimelineSpace/Contents/DirectMessages', () => { mentions: [], tags: [], card: null, + poll: null, application: { name: 'Web' } as Application, diff --git a/spec/renderer/unit/store/TimelineSpace/Contents/Hashtag/Tag.spec.ts b/spec/renderer/unit/store/TimelineSpace/Contents/Hashtag/Tag.spec.ts index 6d65e3b9..e5151fbc 100644 --- a/spec/renderer/unit/store/TimelineSpace/Contents/Hashtag/Tag.spec.ts +++ b/spec/renderer/unit/store/TimelineSpace/Contents/Hashtag/Tag.spec.ts @@ -46,6 +46,7 @@ const status1: Status = { mentions: [], tags: [], card: null, + poll: null, application: { name: 'Web' } as Application, @@ -76,6 +77,7 @@ const status2: Status = { mentions: [], tags: [], card: null, + poll: null, application: { name: 'Web' } as Application, @@ -130,6 +132,7 @@ describe('TimelineSpace/Contents/Hashtag/Tag', () => { mentions: [], tags: [], card: null, + poll: null, application: { name: 'Web' } as Application, diff --git a/spec/renderer/unit/store/TimelineSpace/Contents/Home.spec.ts b/spec/renderer/unit/store/TimelineSpace/Contents/Home.spec.ts index fba72068..84969ad3 100644 --- a/spec/renderer/unit/store/TimelineSpace/Contents/Home.spec.ts +++ b/spec/renderer/unit/store/TimelineSpace/Contents/Home.spec.ts @@ -46,6 +46,7 @@ const status1: Status = { mentions: [], tags: [], card: null, + poll: null, application: { name: 'Web' } as Application, @@ -76,6 +77,7 @@ const status2: Status = { mentions: [], tags: [], card: null, + poll: null, application: { name: 'Web' } as Application, @@ -235,6 +237,7 @@ describe('TimelineSpace/Contents/Home', () => { mentions: [], tags: [], card: null, + poll: null, application: { name: 'Web' } as Application, @@ -308,6 +311,7 @@ describe('TimelineSpace/Contents/Home', () => { mentions: [], tags: [], card: null, + poll: null, application: { name: 'Web' } as Application, diff --git a/spec/renderer/unit/store/TimelineSpace/Contents/Lists/Show.spec.ts b/spec/renderer/unit/store/TimelineSpace/Contents/Lists/Show.spec.ts index 941b9be5..5781a43d 100644 --- a/spec/renderer/unit/store/TimelineSpace/Contents/Lists/Show.spec.ts +++ b/spec/renderer/unit/store/TimelineSpace/Contents/Lists/Show.spec.ts @@ -46,6 +46,7 @@ const status1: Status = { mentions: [], tags: [], card: null, + poll: null, application: { name: 'Web' } as Application, @@ -76,6 +77,7 @@ const status2: Status = { mentions: [], tags: [], card: null, + poll: null, application: { name: 'Web' } as Application, @@ -130,6 +132,7 @@ describe('TimelineSpace/Contents/Lists/Show', () => { mentions: [], tags: [], card: null, + poll: null, application: { name: 'Web' } as Application, diff --git a/spec/renderer/unit/store/TimelineSpace/Contents/Local.spec.ts b/spec/renderer/unit/store/TimelineSpace/Contents/Local.spec.ts index cea66ea8..10dc8fa9 100644 --- a/spec/renderer/unit/store/TimelineSpace/Contents/Local.spec.ts +++ b/spec/renderer/unit/store/TimelineSpace/Contents/Local.spec.ts @@ -46,6 +46,7 @@ const status1: Status = { mentions: [], tags: [], card: null, + poll: null, application: { name: 'Web' } as Application, @@ -76,6 +77,7 @@ const status2: Status = { mentions: [], tags: [], card: null, + poll: null, application: { name: 'Web' } as Application, @@ -130,6 +132,7 @@ describe('TimelineSpace/Contents/Local', () => { mentions: [], tags: [], card: null, + poll: null, application: { name: 'Web' } as Application, diff --git a/spec/renderer/unit/store/TimelineSpace/Contents/Mentions.spec.ts b/spec/renderer/unit/store/TimelineSpace/Contents/Mentions.spec.ts index d696a22d..57abf3c2 100644 --- a/spec/renderer/unit/store/TimelineSpace/Contents/Mentions.spec.ts +++ b/spec/renderer/unit/store/TimelineSpace/Contents/Mentions.spec.ts @@ -69,6 +69,7 @@ const status1: Status = { mentions: [], tags: [], card: null, + poll: null, application: { name: 'Web' } as Application, @@ -100,6 +101,7 @@ const status2: Status = { mentions: [], tags: [], card: null, + poll: null, application: { name: 'Web' } as Application, @@ -131,6 +133,7 @@ const rebloggedStatus: Status = { mentions: [], tags: [], card: null, + poll: null, application: { name: 'Web' } as Application, diff --git a/spec/renderer/unit/store/TimelineSpace/Contents/Notifications.spec.ts b/spec/renderer/unit/store/TimelineSpace/Contents/Notifications.spec.ts index 0cc9d5b6..6a7531ab 100644 --- a/spec/renderer/unit/store/TimelineSpace/Contents/Notifications.spec.ts +++ b/spec/renderer/unit/store/TimelineSpace/Contents/Notifications.spec.ts @@ -69,6 +69,7 @@ const status1: Status = { mentions: [], tags: [], card: null, + poll: null, application: { name: 'Web' } as Application, @@ -100,6 +101,7 @@ const status2: Status = { mentions: [], tags: [], card: null, + poll: null, application: { name: 'Web' } as Application, @@ -131,6 +133,7 @@ const rebloggedStatus: Status = { mentions: [], tags: [], card: null, + poll: null, application: { name: 'Web' } as Application, diff --git a/spec/renderer/unit/store/TimelineSpace/Contents/Public.spec.ts b/spec/renderer/unit/store/TimelineSpace/Contents/Public.spec.ts index 93b76b1e..33a3b19b 100644 --- a/spec/renderer/unit/store/TimelineSpace/Contents/Public.spec.ts +++ b/spec/renderer/unit/store/TimelineSpace/Contents/Public.spec.ts @@ -46,6 +46,7 @@ const status1: Status = { mentions: [], tags: [], card: null, + poll: null, application: { name: 'Web' } as Application, @@ -76,6 +77,7 @@ const status2: Status = { mentions: [], tags: [], card: null, + poll: null, application: { name: 'Web' } as Application, @@ -130,6 +132,7 @@ describe('TimelineSpace/Contents/Local', () => { mentions: [], tags: [], card: null, + poll: null, application: { name: 'Web' } as Application,