describe("refund", () => {
  test("fires a refund event", () => {
    refund({ foo: "bar" });

    expect(event).toHaveBeenCalledWith("refund", {