feat: add deafult buildQuery for V1 chart data requests (#10048)

This commit is contained in:
Ville Brofeldt
2020-06-12 17:49:13 +03:00
committed by GitHub
parent 0724eddb7c
commit ee77707532
3 changed files with 25 additions and 4 deletions

View File

@@ -77,7 +77,7 @@ describe('chart actions', () => {
describe('v1 API', () => {
beforeEach(() => {
fakeMetadata = { useLegacyApi: false };
fakeMetadata = { viz_type: 'my_viz', useLegacyApi: false };
});
it('should query with the built query', async () => {