Skip to content

Commit

Permalink
fix(fix types): fix types
Browse files Browse the repository at this point in the history
  • Loading branch information
Conglei Shi authored and zhaoyongjie committed Nov 26, 2021
1 parent 18dfc53 commit 66ce93c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ describe('TableVis buildQuery', () => {
it('should build groupby with series in form data', () => {
const queryContext = buildQuery(formData);
const [query] = queryContext.queries;
expect(query.metrics[0].label).toEqual('a');
expect(query.metrics![0].label).toEqual('a');
expect(query.groupby).toHaveLength(0);
});
});

0 comments on commit 66ce93c

Please sign in to comment.