Package Exports
- 0xsequence
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (0xsequence) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
0xsequence
Install
yarn add 0xsequenceRunning Browser E2E Tests
The 0xsequence top-level package also contains e2e tests which run in a headless chrome browser.
You can run the test suite directly from console with a single yarn test, or you can boot up the typescript
compiling server (yarn test:server) and ethereum test node (yarn start:hardhat) manually in separate
terminals, and then run a specific test directly from your browser instance by visiting the path:
http://localhost:9999/{browser-test-dir}/{test-filename}.test.html- ie. tests/browser/wallet-provider/dapp.test.ts is accessible via: http://localhost:9999/wallet-provider/dapp.test.html
From CLI
yarn test
From Browser
yarn test:server-- in one terminal, to start the webpack server compiling typescriptyarn start:hardhat-- in another terminal, to start hardhat local ethereum test nodeyarn start:hardhat2-- (2nd chain) in another terminal, to start hardhat2 local ethereum test node- open browser to
http://localhost:9999/{browser-test-dir}/{test-filename}.test.htmlfor example, http://localhost:9999/wallet-provider/dapp.test.html