text: import {
      jest,
      test,
      expect,
  } from "@jest/globals";
  import Helpers from "../core/testHelpers";
  
  const helpers = new Helpers();
  jest.setTimeout(120000);
  
  for (const mode of ["Dev", "Production"]) {
      test(`Build Test: ${mode} Mode`, async () => {
          const {
              serverFileExists,
              publicDirExists,
              buildSuccess
          } = await helpers.build(mode.toLowerCase());
          expect(serverFileExists).toBe(true);
          expect(publicDirExists).toBe(true);
          expect(buildSuccess).toBe(true);
      });
  }
  