mirror of
https://github.com/coder/code-server.git
synced 2026-05-24 13:17:28 +02: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