File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -125,7 +125,7 @@ describe('EdgeService', () => {
125125 describe ( 'findEdgesByWorkspace' , ( ) => {
126126 it ( '특정 워크스페이스에 존재하는 모든 엣지를 반환한다.' , async ( ) => {
127127 const workspaceId = '123456789012345678' ; // Snowflake ID
128- const workspace : Workspace = {
128+ const workspace = {
129129 id : 1 ,
130130 snowflakeId : workspaceId ,
131131 owner : null ,
@@ -138,7 +138,7 @@ describe('EdgeService', () => {
138138 edges : [ ] ,
139139 pages : [ ] ,
140140 nodes : [ ] ,
141- } ;
141+ } as Workspace ;
142142 const node3 = {
143143 id : 3 ,
144144 x : 0 ,
Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ describe('PageService', () => {
6161 describe ( 'createPage' , ( ) => {
6262 it ( '페이지를 성공적으로 생성한다.' , async ( ) => {
6363 const newDate1 = new Date ( ) ;
64- const workspace1 : Workspace = {
64+ const workspace1 = {
6565 id : 1 ,
6666 snowflakeId : 'snowflake-id-1' ,
6767 owner : null ,
@@ -74,7 +74,7 @@ describe('PageService', () => {
7474 edges : [ ] ,
7575 pages : [ ] ,
7676 nodes : [ ] ,
77- } ;
77+ } as Workspace ;
7878
7979 // 페이지 dto
8080 const newPageDto : CreatePageDto = {
@@ -254,7 +254,7 @@ describe('PageService', () => {
254254 describe ( 'findPagesByWorkspace' , ( ) => {
255255 it ( '특정 워크스페이스에 존재하는 페이지들을 content 없이 반환한다.' , async ( ) => {
256256 const workspaceId = '123456789012345678' ; // Snowflake ID
257- const workspace : Workspace = {
257+ const workspace = {
258258 id : 1 ,
259259 snowflakeId : workspaceId ,
260260 owner : null ,
@@ -267,7 +267,7 @@ describe('PageService', () => {
267267 edges : [ ] ,
268268 pages : [ ] ,
269269 nodes : [ ] ,
270- } ;
270+ } as Workspace ;
271271
272272 const page1 : Page = {
273273 id : 1 ,
You can’t perform that action at this time.
0 commit comments