Skip to content

Commit

Permalink
fix snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
robertMileaNi committed Oct 1, 2024
1 parent 729cdef commit 52bd200
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 26 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ export class AssetCalibrationDataSource extends DataSourceBase<AssetCalibrationQ
async runQuery(query: AssetCalibrationQuery, options: DataQueryRequest): Promise<DataFrameDTO> {
return await this.processCalibrationForecastQuery(query as AssetCalibrationQuery, options);
}

async processCalibrationForecastQuery(query: AssetCalibrationQuery, options: DataQueryRequest) {
const result: DataFrameDTO = { refId: query.refId, fields: [] };
const from = options.range!.from.toISOString();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,32 +140,6 @@ exports[`queries calibration forecast with location groupBy 1`] = `
]
`;

exports[`queries calibration forecast with location groupBy 2`] = `
[
{
"fields": [
{
"name": "Group",
"values": [
"Location1",
"Location2",
"Location3",
],
},
{
"name": "Assets",
"values": [
1,
2,
3,
],
},
],
"refId": "A",
},
]
`;

exports[`queries calibration forecast with minion ID location groupBy 1`] = `
[
{
Expand Down

0 comments on commit 52bd200

Please sign in to comment.