You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
389 B

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