Remove typecasting for factories
To produce valid history items and have them blow up when we need to add new fields.
This commit is contained in:
@@ -37,5 +37,5 @@ export function createMockRemoteQueryHistoryItem({
|
||||
repositoryCount,
|
||||
},
|
||||
userSpecifiedLabel,
|
||||
} as unknown) as RemoteQueryHistoryItem;
|
||||
});
|
||||
}
|
||||
|
||||
@@ -18,6 +18,6 @@ export function createMockVariantAnalysisHistoryItem(
|
||||
completed: false,
|
||||
variantAnalysis: createMockVariantAnalysis(variantAnalysisStatus),
|
||||
userSpecifiedLabel,
|
||||
} as unknown) as VariantAnalysisHistoryItem;
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user