Skip to content

Commit

Permalink
fix: log auth click result
Browse files Browse the repository at this point in the history
it seems like this may not be succeeding, figure out wtf
  • Loading branch information
travis committed Aug 10, 2023
1 parent 76b35b9 commit 9e9a9d0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/helpers/up-client.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ export async function setupNewClient (uploadServiceUrl, options = {}) {
console.log("got auth link")
const authLink = getAuthLinkFromEmail(latestEmail.body, uploadServiceUrl)
console.log("clicking auth link")
await fetch(authLink, { method: 'POST' })
const authResult = await fetch(authLink, { method: 'POST' })
console.log("got auth result", authResult.status, authResult.statusText, await authResult.text())
console.log("waiting for authorize to return")
await authorizePromise
if (!client.currentSpace()) {
Expand Down

0 comments on commit 9e9a9d0

Please sign in to comment.