A Cypress test was implemented for the array binary search test.
Since the cypress test does not allow multiple tabs to be used, I changed the UI and MPC operations (initialization and asynchronous operation).
For the UI, you can simply initiate two jiff instances by one click and can submit an array and an element from the same window/tab
On the MPC operation front, it uses Web Worker because running two jiffs in a single tab/window ends up with a deadlock. With Web Worker, we can emulate two threads.
Two files in dist had to be updated because of the update in jiff code due to the package update.
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.
A Cypress test was implemented for the array binary search test.
Two files in dist had to be updated because of the update in jiff code due to the package update.
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.