From 28f37af15d9e25ae348e1a8803f2226b39de8bdb Mon Sep 17 00:00:00 2001 From: AkiraFukushima Date: Fri, 13 Jan 2023 21:22:04 +0900 Subject: [PATCH] Fix fileds types --- .../TimelineSpace/Contents/SideBar/AccountProfile.spec.ts | 8 ++++---- .../store/TimelineSpace/Modals/AddListMember.spec.ts | 2 +- .../store/TimelineSpace/Modals/ListMembership.spec.ts | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/spec/renderer/integration/store/TimelineSpace/Contents/SideBar/AccountProfile.spec.ts b/spec/renderer/integration/store/TimelineSpace/Contents/SideBar/AccountProfile.spec.ts index 8417dd4d..59f17371 100644 --- a/spec/renderer/integration/store/TimelineSpace/Contents/SideBar/AccountProfile.spec.ts +++ b/spec/renderer/integration/store/TimelineSpace/Contents/SideBar/AccountProfile.spec.ts @@ -85,7 +85,7 @@ describe('AccountProfile', () => { header_static: '', emojis: [], moved: null, - fields: null, + fields: [], bot: false } beforeEach(() => { @@ -119,7 +119,7 @@ describe('AccountProfile', () => { header_static: '', emojis: [], moved: null, - fields: null, + fields: [], bot: false } beforeEach(() => { @@ -153,7 +153,7 @@ describe('AccountProfile', () => { header_static: '', emojis: [], moved: null, - fields: null, + fields: [], bot: false } beforeEach(() => { @@ -187,7 +187,7 @@ describe('AccountProfile', () => { header_static: '', emojis: [], moved: null, - fields: null, + fields: [], bot: false } beforeEach(() => { diff --git a/spec/renderer/integration/store/TimelineSpace/Modals/AddListMember.spec.ts b/spec/renderer/integration/store/TimelineSpace/Modals/AddListMember.spec.ts index 0fc1dbf9..c24accb6 100644 --- a/spec/renderer/integration/store/TimelineSpace/Modals/AddListMember.spec.ts +++ b/spec/renderer/integration/store/TimelineSpace/Modals/AddListMember.spec.ts @@ -52,7 +52,7 @@ const account: Entity.Account = { header_static: '', emojis: [], moved: null, - fields: null, + fields: [], bot: false } diff --git a/spec/renderer/integration/store/TimelineSpace/Modals/ListMembership.spec.ts b/spec/renderer/integration/store/TimelineSpace/Modals/ListMembership.spec.ts index ae686bff..fb825af4 100644 --- a/spec/renderer/integration/store/TimelineSpace/Modals/ListMembership.spec.ts +++ b/spec/renderer/integration/store/TimelineSpace/Modals/ListMembership.spec.ts @@ -82,7 +82,7 @@ const account: Entity.Account = { header_static: '', emojis: [], moved: null, - fields: null, + fields: [], bot: false }