diff options
author | Mark Stacey <markjstacey@gmail.com> | 2019-06-25 02:40:49 +0800 |
---|---|---|
committer | Mark Stacey <markjstacey@gmail.com> | 2019-06-25 04:11:50 +0800 |
commit | 225eaa65ccaa94d2bd44b69bed256c42e973fcab (patch) | |
tree | dc37307db81973158c8201bfcc4c8fab4b32e74f /docs | |
parent | 7d8ab3a8eff131c2d3c0c444ba373b167b2d8b77 (diff) | |
download | tangerine-wallet-browser-225eaa65ccaa94d2bd44b69bed256c42e973fcab.tar.gz tangerine-wallet-browser-225eaa65ccaa94d2bd44b69bed256c42e973fcab.tar.zst tangerine-wallet-browser-225eaa65ccaa94d2bd44b69bed256c42e973fcab.zip |
Fix 'watch' npm script
The `watch` npm script did not work - it must have gone unused for some
time. The following changes were required for it to work:
* Use the `--watch` flag, rather than the `watch` command (which appears
to not exist)
* Set the `METAMASK_ENV` environment variable to "test"
* Include the tests in the `ui` directory
* require the `test/setup.js` file before running the tests
The reporter was also changed to `min`, which is generally recommended
for use with the `--watch` flag.
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions