Added test case dashboard

This commit is contained in:
Torkel Ödegaard
2019-01-18 13:12:32 +01:00
parent f16101101d
commit 3a827fc2f1
4 changed files with 1253 additions and 4 deletions

View File

@@ -50,8 +50,8 @@ export function processTimeSeries({ timeSeries, nullValueMode }: Options): TimeS
continue;
}
if (typeof currentValue !== 'number') {
continue;
if (currentValue !== null && typeof currentValue !== 'number') {
throw {message: 'Time series contains non number values'};
}
// Due to missing values we could have different timeStep all along the series