multiparty / jiff

JavaScript library for building web-based applications that employ secure multi-party computation (MPC).
https://multiparty.org/jiff/
MIT License
253 stars 52 forks source link

Cypress Implemented for binary search on a secret array #276

Closed Snafkin547 closed 4 months ago

Snafkin547 commented 5 months ago

A Cypress test was implemented for the array binary search test.

  1. Since the cypress test does not allow multiple tabs to be used, I changed the UI and MPC operations (initialization and asynchronous operation).
  1. Two files in dist had to be updated because of the update in jiff code due to the package update.

  2. I've also had to modify the ts config file, creating separate tsconfig files for cypress and jest so their types do not conflict. Both of these tsconfig files reference the original tsconfig file in the root.

Screenshot 2024-04-17 at 3 03 16 PM