circuit: remove unnecessary export from test

This commit is contained in:
Saleel
2024-04-01 22:46:23 +05:30
parent 7ad0460736
commit 57a1564038
6 changed files with 2 additions and 22 deletions

View File

@@ -17,7 +17,6 @@
"babel-preset-jest": "^29.5.0",
"circom_tester": "^0.0.20",
"circomlibjs": "^0.1.7",
"ffjavascript": "^0.2.59",
"jest": "^29.5.0",
"typescript": "^5.2.2"
}

View File

@@ -1,12 +1,7 @@
import { wasm } from "circom_tester";
import { Scalar } from "ffjavascript";
import path from "path";
exports.p = Scalar.fromString(
"21888242871839275222246405745257275088548364400416034343698204186575808495617"
);
describe("Base64 Lookup", () => {
jest.setTimeout(10 * 60 * 1000); // 10 minutes

View File

@@ -1,16 +1,12 @@
import fs from "fs";
import { buildPoseidon } from "circomlibjs";
import { wasm as wasm_tester } from "circom_tester";
import { Scalar } from "ffjavascript";
import path from "path";
import { DKIMVerificationResult } from "@zk-email/helpers/src/dkim";
import { generateCircuitInputs } from "@zk-email/helpers/src/input-helpers";
import { verifyDKIMSignature } from "@zk-email/helpers/src/dkim";
import { bigIntToChunkedBytes } from "@zk-email/helpers/src/binaryFormat";
exports.p = Scalar.fromString(
"21888242871839275222246405745257275088548364400416034343698204186575808495617"
);
describe("EmailVerifier", () => {
jest.setTimeout(10 * 60 * 1000); // 10 minutes

View File

@@ -1,16 +1,11 @@
import fs from "fs";
import { buildMimcSponge } from "circomlibjs";
import { wasm as wasm_tester } from "circom_tester";
import { Scalar } from "ffjavascript";
import path from "path";
import { wasm as wasm_tester } from "circom_tester";
import { DKIMVerificationResult } from "@zk-email/helpers/src/dkim";
import { generateCircuitInputs } from "@zk-email/helpers/src/input-helpers";
import { verifyDKIMSignature } from "@zk-email/helpers/src/dkim";
import { toCircomBigIntBytes } from "@zk-email/helpers/src/binaryFormat";
exports.p = Scalar.fromString(
"21888242871839275222246405745257275088548364400416034343698204186575808495617"
);
describe("RSA", () => {
jest.setTimeout(10 * 60 * 1000); // 10 minutes

View File

@@ -1,12 +1,8 @@
import { wasm as wasm_tester } from "circom_tester";
import { Scalar } from "ffjavascript";
import path from "path";
import { sha256Pad, shaHash } from "@zk-email/helpers/src/shaHash";
import { Uint8ArrayToCharArray, uint8ToBits } from "@zk-email/helpers/src/binaryFormat";
exports.p = Scalar.fromString(
"21888242871839275222246405745257275088548364400416034343698204186575808495617"
);
describe("SHA256 for email header", () => {
jest.setTimeout(10 * 60 * 1000); // 10 minutes

View File

@@ -2761,7 +2761,6 @@ __metadata:
circom_tester: ^0.0.20
circomlib: ^2.0.5
circomlibjs: ^0.1.7
ffjavascript: ^0.2.59
jest: ^29.5.0
typescript: ^5.2.2
languageName: unknown
@@ -4123,7 +4122,7 @@ __metadata:
languageName: node
linkType: hard
"ffjavascript@npm:^0.2.45, ffjavascript@npm:^0.2.48, ffjavascript@npm:^0.2.59":
"ffjavascript@npm:^0.2.45, ffjavascript@npm:^0.2.48":
version: 0.2.59
resolution: "ffjavascript@npm:0.2.59"
dependencies: