import expect from "expect.js";

describe("Effect", () => {
  it("works", () => {
    // TODO
    expect(1).to.be(1);
  });
});

import expect from "expect.js";
import { Effect, isEmpty } from "../dist/effect";

describe("Effect", () => {
  describe("isEmpty", () => {
    it("returns true for the empty effect", () => {
      expect(isEmpty(Effect.empty())).to.be(true);
    });
    it("returns false for standard effects", () => {
      expect(isEmpty(Effect())).to.be(false);
      expect(isEmpty(Effect(_ => {}))).to.be(false);
    });
  })
});

Add a test for `isEmpty`
Add a test for `isEmpty`
