import {
  describe,
  globalExpect,
  test
} from "../../chunk-ZGHNMRBX.js";
import {
  demoStepsSchema
} from "../../chunk-JF6FAOTF.js";
import "../../chunk-NLUGD7PZ.js";
import {
  readFile
} from "../../chunk-LA4HX5WI.js";
import "../../chunk-XVNW332R.js";
import "../../chunk-XEDHKQZA.js";
import {
  dirname,
  joinPath
} from "../../chunk-T2GATXSP.js";
import "../../chunk-CBD6UXLA.js";
import "../../chunk-CBBS4CV7.js";
import "../../chunk-SNOECVP4.js";
import "../../chunk-NEOIQ6PN.js";
import "../../chunk-7Q3MMWAC.js";
import "../../chunk-MX4RJDBM.js";
import "../../chunk-NB4NLOEJ.js";
import "../../chunk-UBB7JKND.js";
import "../../chunk-522OB3EU.js";
import "../../chunk-PNN7RS7Y.js";
import {
  init_cjs_shims
} from "../../chunk-POZ5MGPT.js";

// src/cli/services/demo.test.ts
init_cjs_shims();
import { fileURLToPath } from "url";
describe("demoStepsSchema", () => {
  test("validates catalog", async () => {
    let filePath = joinPath(fileURLToPath(dirname(import.meta.url)), "../../../assets/demo-catalog.json"), catalogContents = demoStepsSchema.parse(JSON.parse(await readFile(filePath)));
    globalExpect(catalogContents.command).toEqual("shopify demo");
  });
});
//# sourceMappingURL=demo.test.js.map
