hunk.code_window:     });
       it("should find the sqlite database if the cwd is changed for better-sqlite3", async function () {
           // run test only if sqlite3 is enabled in ormconfig
           const isEnabled = getTypeOrmConfig().some(conf => conf.type === "better-sqlite3" && conf.skip === false)
           if (!isEnabled) return
           const options = await getConnectionOptions("better-sqlite3");
           connection = await createConnection(options);
  
hunk.labels: keep keep keep keep replace replace keep keep keep
hunk.after_edit:         const isEnabled = getTypeOrmConfig().some(conf => conf.type === "better-sqlite3" && conf.skip === false);
           if (!isEnabled) return;
  
hunk.file_path: test/github-issues/798/issue-798.ts
hunk.type: replace
file: import {BaseConnectionOptions} from "../../connection/BaseConnectionOptions";
  import {SapConnectionCredentialsOptions} from "./SapConnectionCredentialsOptions";
  
  /**
   * SAP Hana specific connection options.
   */
  export interface SapConnectionOptions extends BaseConnectionOptions, SapConnectionCredentialsOptions {
  
      /**
       * Database type.
       */
      readonly type: "sap";
  
      /**
       * Database schema.
       */
      readonly schema?: string;
  
      /**
       * The driver objects
       * This defaults to require("hdb-pool")
       */
      readonly driver?: any;
  
      /**
       * The driver objects
       * This defaults to require("@sap/hana-client")
       */
      readonly hanaClientDriver?: any;
  
      /**
       * Pool options.
       */
      readonly pool?: {
  
          /**
          * Max number of connections.
          */
          readonly max?: number;
  
          /**
          * Minimum number of connections.
          */
          readonly min?: number;
  
          /**
          * Maximum number of waiting requests allowed. (default=0, no limit).
          */
          readonly maxWaitingRequests?: number;
          /**
          * Max milliseconds a request will wait for a resource before timing out. (default=5000)
          */
          readonly requestTimeout?: number;
          /**
          * How often to run resource timeout checks. (default=0, disabled)
          */
          readonly checkInterval?: number;
          /**
          * Idle timeout
          */
          readonly idleTimeout?: number;
  
          /**
          * Function handling errors thrown by drivers pool.
          * Defaults to logging error with `warn` level.
          */
          readonly poolErrorHandler?: (err: any) => any;
  
      };
  
  }
  