there seems to be no other way *shrug*
npm clean-install
npm run build
XDEBUG_MODE=coverage nice php artisan test --without-tty --coverage-html /var/www/coverage/alttp/php
-nice npm run test -- --coverage --coverage.reportsDirectory /var/www/coverage/alttp/js --coverage.reporters html --coverage.include 'resources/js/**'
+LARAVEL_BYPASS_ENV_CHECK=1 nice npm run test -- --coverage --coverage.reportsDirectory /var/www/coverage/alttp/js --coverage.reporters html --coverage.include 'resources/js/**'