hunk.code_window:       </svg>
       `,
     });
     test("image URLs", async ({ page }) => {
       let app = new PlaywrightFixture(appFixture, page);
       await app.goto("/image-urls-test");
       let locator = await page.locator("[data-testid='image-urls']");
       let backgroundImage = await locator.evaluate(
         (element) => window.getComputedStyle(element).backgroundImage
       );
  
hunk.labels: keep keep keep keep add keep keep keep keep keep
hunk.after_edit:     let imgStatus: number | null = null;
       app.page.on("response", (res) => {
         if (res.url().endsWith(".svg")) imgStatus = res.status();
       });
  
hunk.file_path: integration/css-modules-test.ts
hunk.type: add
file: import { basename } from "path";
  import glob from "fast-glob";
  import { readFileSync, removeSync, renameSync, writeFileSync } from "fs-extra";
  
  import { convertTSFileToJS } from "./convertTSFileToJS";
  
  export const convertTSFilesToJS = (projectDir: string) => {
    let entries = glob.sync("**/*.+(ts|tsx)", {
      absolute: true,
      cwd: projectDir,
      ignore: ["**/node_modules/**"],
    });
  
    entries.forEach((entry) => {
      if (entry.endsWith(".d.ts")) {
        return removeSync(entry);
      }
  
      let contents = readFileSync(entry, "utf8");
      let filename = basename(entry);
      let javascript = convertTSFileToJS({
        filename,
        projectDir,
        source: contents,
      });
      writeFileSync(entry, javascript, "utf8");
  
      renameSync(entry, entry.replace(".ts", ".js"));
    });
  };
  