import {
  versionService
} from "../../../chunk-QRHNYFDJ.js";
import {
  mockAndCaptureOutput
} from "../../../chunk-H3C53KCF.js";
import {
  afterEach,
  describe,
  globalExpect,
  test,
  vi
} from "../../../chunk-ZGHNMRBX.js";
import "../../../chunk-E4UK3DDW.js";
import "../../../chunk-BGM7BTJW.js";
import "../../../chunk-XEDHKQZA.js";
import "../../../chunk-27ILOE3X.js";
import "../../../chunk-SNOECVP4.js";
import "../../../chunk-6XKWVDB6.js";
import "../../../chunk-UBB7JKND.js";
import "../../../chunk-T2GATXSP.js";
import "../../../chunk-XVNW332R.js";
import "../../../chunk-A3JXD7N7.js";
import "../../../chunk-7Q3MMWAC.js";
import "../../../chunk-MX4RJDBM.js";
import "../../../chunk-NB4NLOEJ.js";
import "../../../chunk-522OB3EU.js";
import "../../../chunk-PNN7RS7Y.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
