it("throws an error with an unformatted name", () => {
    expect(() => validateTask({ id: "", name: " foo" })).toThrow();
  });