Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Vincent <Vinnl@users.noreply.github.com>
  • Loading branch information
NSeydoux and Vinnl authored Oct 28, 2020
1 parent b5e3e96 commit b9a14e5
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ const mockFetch = (

describe("buildBearerFetch", () => {
it("returns a fetch holding the provided token", async () => {
// const fetch = mockFetch();
const fetch = mockFetch(mockNotRedirectedResponse());
const myFetch = buildBearerFetch("myToken");
await myFetch("someUrl");
Expand Down
1 change: 0 additions & 1 deletion packages/browser/src/authenticatedFetch/fetchFactory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ export async function buildDpopFetch(
await buildDpopFetchOptions(init.toString(), authToken, dpopKey, options)
);
if (response.url === init.toString()) {
console.log(JSON.stringify(response, null, " "));
return response;
}
return fetch(
Expand Down

0 comments on commit b9a14e5

Please sign in to comment.