message: (feat): added test to check docker daemon not running error
diff: @@ -5,6 +5,7 @@ import { clearStyle, polywrapCli } from "./utils";
  import { GetPathToCliTestFiles } from "@polywrap/test-cases";
  import { runCLI } from "@polywrap/test-env-js";
  +import { spawnSync } from 'child_process';
  const testCaseRoot = path.join(GetPathToCliTestFiles(), "infra");
  const testCases =
  @@ -216,6 +217,18 @@ describe("e2e tests for infra command", () => {
  );
  });
  + it.skip("Should show error message if Docker daemon is not running", async () => {
  + spawnSync("sudo service docker stop")
  + const { stderr } = await runPolywrapCli(
  + ["infra", "up"],
  + getTestCaseDir(4),
  + );
  +
  + spawnSync("sudo service docker start")
  +
  + expect(stderr).toContain("Could not connect to the Docker daemon. Is the docker daemon running?");
  + });
  +
  it("Should correctly open one process for default module because modules flag overwrites it", async () => {
  await runPolywrapCli(
  ["infra", "up", "--modules=eth-ens-ipfs"],
  