"use strict";

const { run } = require("../../../utils/test-utils");

describe("single entry flag empty project", () => {
  it("sets default entry, compiles but throw missing module error", async () => {
    const { exitCode, stderr, stdout } = await run(__dirname);

    expect(exitCode).toBe(1);
    expect(stderr).toBeFalsy();
    expect(stdout).toContain("not found: Error: Can't resolve");
  });
});
