Skip to content

Commit

Permalink
[squashme] Fixing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnysprinkles committed Jun 11, 2022
1 parent 1f35a69 commit ff4e342
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,11 @@
const res = await fetch('/load/set-cookie-fetch/b.json');
const { answer } = await res.json(); // need to read the response so it gets serialized
const set_cookie = res.headers.get('set-cookie');
return {
props: { answer }
props: { answer },
set_cookies: set_cookie ? [ set_cookie ] : []
};
}
</script>
Expand Down

0 comments on commit ff4e342

Please sign in to comment.