Fix bool
This commit is contained in:
parent
99d525ad79
commit
1c2c00e621
|
@ -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
|
||||
}
|
||||
|
|
|
@ -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 () => {
|
||||
|
|
Loading…
Reference in New Issue