import {
  versionService
} from "../../../chunk-GSVUAPYM.js";
import {
  mockAndCaptureOutput
} from "../../../chunk-G3KYE44O.js";
import {
  afterEach,
  describe,
  globalExpect,
  test,
  vi
} from "../../../chunk-HSTSRNLJ.js";
import "../../../chunk-ZUU6SR63.js";
import "../../../chunk-IW7KNM7Q.js";
import "../../../chunk-2HGYYNE5.js";
import "../../../chunk-XVNW332R.js";
import "../../../chunk-HFAVKTDR.js";
import "../../../chunk-EI5KZ5NN.js";
import "../../../chunk-CBBS4CV7.js";
import "../../../chunk-SNOECVP4.js";
import "../../../chunk-UBB7JKND.js";
import "../../../chunk-NEOIQ6PN.js";
import "../../../chunk-7Q3MMWAC.js";
import "../../../chunk-MX4RJDBM.js";
import "../../../chunk-NB4NLOEJ.js";
import "../../../chunk-522OB3EU.js";
import {
  init_cjs_shims
} from "../../../chunk-POZ5MGPT.js";

// src/cli/services/commands/version.test.ts
init_cjs_shims();
vi.mock("@shopify/cli-kit/node/node-package-manager");
vi.mock("@shopify/cli-kit/common/version", () => ({ CLI_KIT_VERSION: "2.2.2" }));
afterEach(() => {
  mockAndCaptureOutput().clear();
});
describe("check CLI version", () => {
  test("displays latest version", async () => {
    let outputMock = mockAndCaptureOutput();
    await versionService(), globalExpect(outputMock.info()).toMatchInlineSnapshot(`
        "2.2.2"
      `);
  });
});
//# sourceMappingURL=version.test.js.map
