import {
  mockAndCaptureOutput
} from "../../../chunk-ML6LR652.js";
import {
  Logout
} from "../../../chunk-X2QKDHWK.js";
import {
  logout
} from "../../../chunk-U2ORJGOX.js";
import {
  describe,
  globalExpect,
  test,
  vi
} from "../../../chunk-HSTSRNLJ.js";
import "../../../chunk-YUAWAF5Y.js";
import "../../../chunk-5Q3KPCWB.js";
import "../../../chunk-O5K4AU7Q.js";
import "../../../chunk-MFMYWNKT.js";
import "../../../chunk-KCSGBKEZ.js";
import "../../../chunk-MRPJCXG3.js";
import "../../../chunk-ORDFLOPR.js";
import "../../../chunk-YGOJRISK.js";
import "../../../chunk-VSLR7ET4.js";
import "../../../chunk-7AFORNYD.js";
import "../../../chunk-NHHBSREL.js";
import "../../../chunk-BYPQXSAL.js";
import "../../../chunk-NEEJ5XET.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/commands/auth/logout.test.ts
init_cjs_shims();
vi.mock("@shopify/cli-kit/node/session");
describe("logs out", () => {
  test("clears the session", async () => {
    let outputMock = mockAndCaptureOutput();
    await Logout.run(), globalExpect(logout).toHaveBeenCalledOnce(), globalExpect(outputMock.success()).toMatchInlineSnapshot('"Logged out from Shopify"');
  });
});
//# sourceMappingURL=logout.test.js.map
