(f: () => void, message: Cookies.CookiesError["reason"])
| 4 | import { Either, Option } from "effect" |
| 5 | |
| 6 | const assertCookieError = (f: () => void, message: Cookies.CookiesError["reason"]) => { |
| 7 | throws(f, new Cookies.CookiesError({ reason: message })) |
| 8 | } |
| 9 | |
| 10 | describe("Cookies", () => { |
| 11 | it("makeCookie rejects cookie attribute separators", () => { |