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 {Entity} from "../../../../../../src/decorator/entity/Entity";
  import {PrimaryGeneratedColumn} from "../../../../../../src/decorator/columns/PrimaryGeneratedColumn";
  import {Column} from "../../../../../../src/decorator/columns/Column";
  import {ManyToMany} from "../../../../../../src/decorator/relations/ManyToMany";
  import {JoinTable} from "../../../../../../src/decorator/relations/JoinTable";
  import {Category} from "./Category";
  
  @Entity()
  export class Post {
  
      @PrimaryGeneratedColumn()
      id: number;
  
      @Column()
      title: string;
  
      @Column()
      isRemoved: boolean = false;
      
      @ManyToMany(type => Category, category => category.posts)
      @JoinTable()
      categories: Category[];
      
      categoryCount: number;
  
      removedCategoryCount: number;
  
  }