Skip to content

Commit

Permalink
Remove debugging output from platform integration tests (#385)
Browse files Browse the repository at this point in the history
  • Loading branch information
mythmon authored Dec 14, 2023
1 parent 7bb81ed commit 04013f4
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/observableApiAuth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@ export async function whoami(effects = defaultEffects) {
}
logger.log();
} catch (error) {
console.log(error);
if (isHttpError(error) && error.statusCode == 401) {
if (apiKey.source === "env") {
logger.log(`Your API key is invalid. Check the value of the ${apiKey.envVar} environment variable.`);
Expand Down
1 change: 0 additions & 1 deletion test/mocks/observableApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,6 @@ export class ObservableApiMock {
status == 200
? JSON.stringify({id: deployId, status: "uploaded", url: `${getObservableUiHost()}/@mock-user-ws/test-project`})
: emptyErrorBody;
console.log("handlePostDeployUploaded", {response});
const headers = authorizationHeader(status != 401);
this._handlers.push((pool) =>
pool
Expand Down

0 comments on commit 04013f4

Please sign in to comment.