Closed SneakY-NickY closed 9 months ago
Hey! There are no tests right now so it's hard for me to gauge if this broke anything, can you add a test that runs this file on a few regexes and checks if it compiles?
This PR is going to merge with branch in https://github.com/zkemail/zk-regex/pull/31 Perhaps it would be a good idea to merge this one first and see if tests in https://github.com/zkemail/zk-regex/pull/31 pass? 😄 Not exactly sure how to run a test for this PR as I've not done it before 😅
if you can just add a simple jest file that generates a circom regex file, then tests that it compiles correctly, that would be ideal. But that works, let's add it to #31.
Updated TypeScript version of gen_circom.js to support commits pushed into the main branch