mirror of
https://github.com/arnaucube/circom.git
synced 2026-02-08 03:36:45 +01:00
Fix undefined if
This commit is contained in:
14
test/cases.js
Normal file
14
test/cases.js
Normal file
@@ -0,0 +1,14 @@
|
||||
const chai = require("chai");
|
||||
const path = require("path");
|
||||
const snarkjs = require("snarkjs");
|
||||
const crypto = require("crypto");
|
||||
|
||||
const compiler = require("../index.js");
|
||||
|
||||
const assert = chai.assert;
|
||||
|
||||
describe("Sum test", () => {
|
||||
it("Should compile a code with an undefined if", async() => {
|
||||
await compiler(path.join(__dirname, "circuits", "undefinedif.circom"));
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user