1
0
Fork 0
mirror of synced 2024-10-02 10:08:09 +13:00
This commit is contained in:
Adria Navarro 2023-05-15 13:13:27 +02:00
parent 99d525ad79
commit 1c2c00e621
2 changed files with 2 additions and 2 deletions

View file

@ -129,7 +129,7 @@ export interface IntegrationBase {
update?(query: any): Promise<any[] | any>
delete?(query: any): Promise<any[] | any>
testConnection?(): Promise<
| true
| boolean
| {
error: string
}

View file

@ -30,7 +30,7 @@ describe("datasource validators", () => {
rejectUnauthorized: false,
})
const result = await integration.testConnection()
expect(result).toBeTruthy()
expect(result).toBe(true)
})
it("test invalid connection string", async () => {