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:
Elena Tanasoiu
2022-11-02 10:03:45 +00:00
parent d610701d45
commit 841c66c7f8
2 changed files with 2 additions and 2 deletions

View File

@@ -37,5 +37,5 @@ export function createMockRemoteQueryHistoryItem({
repositoryCount,
},
userSpecifiedLabel,
} as unknown) as RemoteQueryHistoryItem;
});
}

View File

@@ -18,6 +18,6 @@ export function createMockVariantAnalysisHistoryItem(
completed: false,
variantAnalysis: createMockVariantAnalysis(variantAnalysisStatus),
userSpecifiedLabel,
} as unknown) as VariantAnalysisHistoryItem;
});
}