yarn install
yarn run build
-
Run
yarn install
-
Add to the
/etc/hosts
next line127.0.0.1 local.testcases.adguard.com
-
Run the local server
yarn watch
It will openhttp://local.testcases.adguard.com:3000/
in your browser and test code changes will be dynamically updated there
Please note, that AdGuard for Mac does not filter localhost connections by default!.
cd public
yarn global add surge
surge --domain=_any_domain_.surge.sh
Enjoy your testing at _any_domain_.surge.sh
!
The main data file is ./src/testsData.js
- Copy rules functionality doesn't work in FF and Safari:
document.execCommand(‘cut’/‘copy’) was denied because it was not called from inside a short running user-generated event handler.