Leszek Wiesner 4 yıl önce
ebeveyn
işleme
7d29db425f
1 değiştirilmiş dosya ile 11 ekleme ve 9 silme
  1. 11 9
      pioneer/packages/joy-roles/src/mocks.ts

+ 11 - 9
pioneer/packages/joy-roles/src/mocks.ts

@@ -27,14 +27,16 @@ export function mockProfile (name: string, avatar_uri = ''): IProfile {
   };
 }
 
-export const mockStage = new OpeningStage({'Active': new ActiveOpeningStageVariant({
-  applications_added: new (Vec.with(ApplicationId))([]),
-  active_application_count: new u32(0),
-  unstaking_application_count: new u32(0),
-  deactivated_application_count: new u32(0),
-  stage: new ActiveOpeningStage({
-    'AcceptingApplications': new AcceptingApplications({
-      started_accepting_applicants_at_block: new u32(100)
+export const mockStage = new OpeningStage({
+  Active: new ActiveOpeningStageVariant({
+    applications_added: new (Vec.with(ApplicationId))([]),
+    active_application_count: new u32(0),
+    unstaking_application_count: new u32(0),
+    deactivated_application_count: new u32(0),
+    stage: new ActiveOpeningStage({
+      AcceptingApplications: new AcceptingApplications({
+        started_accepting_applicants_at_block: new u32(100)
+      })
     })
   })
-})});
+});