Skip to content
This repository has been archived by the owner on Jun 25, 2020. It is now read-only.

Commit

Permalink
fix(fix types): fix types
Browse files Browse the repository at this point in the history
  • Loading branch information
Conglei Shi committed Aug 14, 2019
1 parent 87829ec commit a42d014
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 a42d014

Please sign in to comment.