mirror of
https://github.com/coder/code-server.git
synced 2025-07-29 13:02:10 +08:00
refactor: create helpers.ts & add Cookie
This commit is contained in:
14
test/helpers.ts
Normal file
14
test/helpers.ts
Normal file
@ -0,0 +1,14 @@
|
||||
// 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"
|
||||
}
|
Reference in New Issue
Block a user