{"size": 482, "ext": "js", "max_stars_repo_path": "lidl-flow/src/interactions/base/__tests__/all.js", "max_stars_repo_name": "crubier/lidl", "max_stars_repo_stars_event_min_datetime": "2021-11-24T21:53:57.000Z", "max_stars_repo_stars_event_max_datetime": "2021-12-28T08:51:23.000Z", "max_issues_repo_path": "lidl-flow/src/interactions/base/__tests__/all.js", "max_issues_repo_name": "crubier/lidl", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "lidl-flow/src/interactions/base/__tests__/all.js", "max_forks_repo_name": "crubier/lidl", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 2, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 25.3684210526, "max_line_length": 44, "alphanum_fraction": 0.5663900415}
import { send, receive } from "../foreign";
import { allInput, all } from "../all";

test("simple all input", async () => {
  await allInput(
    send(i => expect(i).toEqual(5)),
    send(i => expect(i).toEqual(5)),
    send(i => expect(i).not.toEqual(6))
  ).set(5);
});

test("simple all activation ", async () => {
  await all(
    send(i => expect(i).toEqual("active")),
    send(i => expect(i).toEqual("active")),
    send(i => expect(i).not.toEqual(6))
  ).set("active");
});
