import { makeAppObjectRepo } from "@vived/core";
import { makeSetEnvironmentIntensityUcMock } from "../Mocks/SetEnvironmentIntensityUcMock";
import { updateEnvironmentIntensity } from "./updateEnvironmentIntensity";
function makeTestRig() {
    const appObjects = makeAppObjectRepo();
    const mockUC = makeSetEnvironmentIntensityUcMock(appObjects);
    return { appObjects, mockUC };
}
describe("Update Environmental Intensity", () => {
    it("Sends the intensity to the UC", () => {
        const { mockUC, appObjects } = makeTestRig();
        updateEnvironmentIntensity(0.99, appObjects);
        expect(mockUC.update).toHaveBeenCalledWith(0.99);
    });
});
//# sourceMappingURL=updateEnvironmentIntensity.test.js.map