Skip to main content
Module

x/ua_parser_js/script/test-all.sh

UAParser.js - Free & open-source JavaScript library to detect user's Browser, Engine, OS, CPU, and Device type/model. Runs either in browser (client-side) or node.js (server-side).
Go to Latest
File
#!/usr/bin/env bash
echo '- run build'npm run build || exit 1
echo '- lint js code'npm run test:jshint || exit 1 #npm run test:eslint || exit 1
echo '- test using mocha'npm run test:mocha || exit 1
echo '- test using playwright'npm run test:playwright || exit 1
echo '- lint lockfile'npm run test:lockfile-lint || exit 1
echo '- lint d.ts files'npm run test:dts-lint || exit 1