UNPKG

e2ed

Version:

E2E testing framework over Playwright

7 lines (6 loc) 356 B
import type { Cookie, SetCookieHeaderString } from '../../types/internal'; /** * Replace one cookie in array of set-cookie header strings * (insert if such a cookie was not in the array) and return new array of cookies. */ export declare const replaceSetCookie: (setCookies: readonly SetCookieHeaderString[], cookie: Cookie) => SetCookieHeaderString[];