circom/test/cases.js
test/cases.jsRaw
1const chai = require("chai");
2const path = require("path");
3const snarkjs = require("snarkjs");
4const crypto = require("crypto");
5
6const compiler = require("../index.js");
7
8const assert = chai.assert;
9
10describe("Sum test", () => {
11 it("Should compile a code with an undefined if", async() => {
12 await compiler(path.join(__dirname, "circuits", "undefinedif.circom"));
13 });
14});