Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove extra console.log() statement in test #416

Merged
merged 2 commits into from
Sep 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
{
"allowEmptyCatch": true
}
]
],
"no-console": "error"
}
}
1 change: 0 additions & 1 deletion packages/dap/src/hpkeConfig.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,6 @@ describe("DAP HpkeConfig", () => {
const kem = new DhkemP256HkdfSha256();
const { publicKey, privateKey } = await kem.generateKeyPair();
const key = await kem.serializePublicKey(publicKey);
console.log(Buffer.from(key).toString("ascii"));

const config = new HpkeConfig(
100,
Expand Down
3 changes: 3 additions & 0 deletions packages/interop-test-client/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
// This script implements the client role of draft-dcook-ppm-dap-interop-test-design-02.

/* eslint no-console: "off" */

import type { Request, Response } from "express";
import express from "express";
import type { ReportOptions } from "@divviup/dap";
Expand Down
2 changes: 2 additions & 0 deletions scripts/benchmarks.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* eslint no-console: "off" */

import Benchmark from "benchmark";
import { Task, KnownVdafSpec, VdafMeasurement } from "dap/client";
import { TaskId } from "dap/taskId";
Expand Down