refactor: create helpers.ts & add Cookie

This commit is contained in:
Joe Previte
2021-02-12 11:55:16 -07:00
parent 38d7718feb
commit 3fa460c244
3 changed files with 19 additions and 19 deletions

14
test/helpers.ts Normal file
View 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"
}