code-server/test/helpers.ts
2021-02-22 13:41:10 -07:00

15 lines
252 B
TypeScript

// Borrowed from playwright
export interface Cookie {
name: string
value: string
domain: string
path: string
/**
* Unix time in seconds.
*/
expires: number
httpOnly: boolean
secure: boolean
sameSite: "Strict" | "Lax" | "None"
}