-
Notifications
You must be signed in to change notification settings - Fork 22
Home
Tutik Alexsandr edited this page Jan 30, 2023
·
3 revisions
This guide is intended for developers of the current package.
- clone the repository installation
- install dependencies via npm
- run the script from the tests/tools
Check all files for folder:
node report-test-files-ua.js "/src/www/scan-logs/" "/src/www/node-device-detector/tests/fixtures/" > ua_not_exist_tests.log
If you need to check 1 log file:
node report-test-files-ua.js "/src/www/scan-logs/file-user agent.log" "/src/www/node-device-detector/tests/fixtures/" > ua_not_exist_tests.log
In the file, we will get agents that are not in the tests and that are not defined.
node tests/tools/update-fixtures.js
node tests/tools/update-readme.js
node tests/tools/report-google-device.js
node tests/tools/report-info-for-devices.js