Removing meta from test API, it cannot be supplied, it is an internal property.
This commit is contained in:
parent
8b0fc5ed5d
commit
2efbd6726c
|
@ -755,9 +755,6 @@ describe.each(
|
||||||
name: "two",
|
name: "two",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
meta: {
|
|
||||||
table: config.table!,
|
|
||||||
},
|
|
||||||
})
|
})
|
||||||
expect(res).toHaveLength(1)
|
expect(res).toHaveLength(1)
|
||||||
expect(res[0]).toEqual({
|
expect(res[0]).toEqual({
|
||||||
|
|
|
@ -60,7 +60,10 @@ export class DatasourceAPI extends TestAPI {
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
query = async (query: QueryJson, expectations?: Expectations) => {
|
query = async (
|
||||||
|
query: Omit<QueryJson, "meta">,
|
||||||
|
expectations?: Expectations
|
||||||
|
) => {
|
||||||
return await this._post<any>(`/api/datasources/query`, {
|
return await this._post<any>(`/api/datasources/query`, {
|
||||||
body: query,
|
body: query,
|
||||||
expectations,
|
expectations,
|
||||||
|
|
Loading…
Reference in New Issue