1
0
Fork 0
mirror of synced 2024-07-15 11:15:59 +12:00

update tests

remove comments
This commit is contained in:
Mateus Badan de Pieri 2023-02-07 15:47:11 +00:00
parent 8e480ac884
commit 7c702cd0ac

View file

@ -91,7 +91,6 @@ describe("/api/env/variables", () => {
})
it("should run a query preview and check the mocked results", async () => {
// TODO: use the preview API
const datasourceBase = structures.basicDatasource()
await request
.post(`/api/env/variables`)
@ -122,7 +121,6 @@ describe("/api/env/variables", () => {
.set(config.defaultHeaders())
.expect("Content-Type", /json/)
.expect(200)
// these responses come from the mock
expect(res.body.schemaFields).toEqual({
a: "string",
b: "number",
@ -134,6 +132,5 @@ describe("/api/env/variables", () => {
response.body.datasource,
query
)
//expect(postgres.integration).toHaveBeenCalledWith()
})
})