Minimal cookie interface used by AstroSession.
| 16 | |
| 17 | /** Minimal cookie interface used by AstroSession. */ |
| 18 | interface MockCookies { |
| 19 | set(key: string, value: string, options?: AstroCookieSetOptions): void; |
| 20 | delete(key: string, options?: AstroCookieDeleteOptions): void; |
| 21 | get(key: string): { value: string } | undefined; |
| 22 | } |
| 23 | |
| 24 | const defaultMockCookies: MockCookies = { |
| 25 | set: () => {}, |
no outgoing calls
no test coverage detected