Spaces:
Running

bha-Search / package.json
vomebook's picture
Add scoped mutation tests and enforce 80% coverage
26bf5fd verified
Raw History Blame Contribute Delete
980 Bytes
{
"name": "bha-static-checks",
"private": true,
"scripts": {
"types": "pyright --project pyrightconfig.json && tsc --project jsconfig.service-worker.json && tsc --project jsconfig.speech.json && tsc --project jsconfig.audit.json",
"test:static": "python -B -m unittest discover -s tests -p test_static_checks.py -v && node tests/test_service_worker.cjs",
"coverage": "python -m coverage run -m unittest tests.test_api tests.test_bucket_probe tests.test_bucket_snapshot tests.test_data_loader tests.test_downloads tests.test_indexer tests.test_full_build tests.test_parse_boundaries tests.test_proofread_boundaries tests.test_reindex_scheduler tests.test_search tests.test_search_store tests.test_stores tests.test_storage_lock tests.test_parse_core && python -m coverage report --show-missing --fail-under=80",
"mutation": "python -B tests/run_mutation.py --min-score 80"
},
"devDependencies": {
"pyright": "1.1.414",
"typescript": "7.0.2"
}
}