sygmaprotocol / sygma-widget

Transfer widget for the sygmaprotocol
5 stars 2 forks source link

Run unit tests in browser #69

Open mpetrunic opened 8 months ago

mpetrunic commented 8 months ago

We are currently running tests in jsdom but it seems like it's not supporting all features like actual browser. For example substrate address checksum doesn't work. We are currently running in happy-dom but ideally we wanna setup vitest to run in actual browser.

Only blocker seems to be sygma-contracts which has some non-browser deps as prod dependencies.