From a5a37c93d676cf0e456e353e3c749e6dcab5a7fc Mon Sep 17 00:00:00 2001 From: aeneasr <3372410+aeneasr@users.noreply.github.com> Date: Thu, 14 Nov 2024 12:02:22 +0100 Subject: [PATCH] chore: synchronize workspaces --- .../utils/__snapshots__/utils.test.ts.snap | 33 +++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 packages/nextjs/src/utils/__snapshots__/utils.test.ts.snap diff --git a/packages/nextjs/src/utils/__snapshots__/utils.test.ts.snap b/packages/nextjs/src/utils/__snapshots__/utils.test.ts.snap new file mode 100644 index 00000000..92498c13 --- /dev/null +++ b/packages/nextjs/src/utils/__snapshots__/utils.test.ts.snap @@ -0,0 +1,33 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`processSetCookieHeaders should respect forwarded headers 1`] = ` +[ + "sessionid=abc123; Domain=ory.sh; Path=/; HttpOnly; Secure", +] +`; + +exports[`processSetCookieHeaders should respect regular headers 1`] = ` +[ + "sessionid=abc123; Domain=ory.sh; Path=/; HttpOnly", +] +`; + +exports[`processSetCookieHeaders supports insecure 1`] = ` +[ + "sessionid=abc123; Domain=ory.sh; Path=/; HttpOnly", +] +`; + +exports[`processSetCookieHeaders supports multiple cookies comma separated 1`] = ` +[ + "sessionid1=abc123; Domain=ory.sh; Path=/; HttpOnly", + "sessionid2=123abc; Domain=ory.sh; Path=/abc; HttpOnly", +] +`; + +exports[`processSetCookieHeaders supports multiple cookies in record 1`] = ` +[ + "sessionid1=abc123; Domain=ory.sh; Path=/; HttpOnly", + "sessionid2=123abc; Domain=ory.sh; Path=/abc; HttpOnly", +] +`;