Skip to content

Commit

Permalink
Update jest tests
Browse files Browse the repository at this point in the history
  • Loading branch information
stratoula committed Oct 11, 2024
1 parent 6c6d8c6 commit 3f06707
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -674,7 +674,8 @@ describe('LensVisService attributes', () => {
},
],
"query": Object {
"esql": "from logstash-* | limit 10",
"esql": "from logstash-* | limit 10
| EVAL timestamp=DATE_TRUNC(10 minute, timestamp) | stats results = count(*) by timestamp | rename timestamp as \`timestamp every 10 minute\`",
},
"visualization": Object {
"gridConfig": Object {
Expand Down Expand Up @@ -706,7 +707,7 @@ describe('LensVisService attributes', () => {
"timeField": "timestamp",
"timeInterval": undefined,
},
"suggestionType": "lensSuggestion",
"suggestionType": "histogramForESQL",
}
`);
});
Expand Down

0 comments on commit 3f06707

Please sign in to comment.