Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
qunit: add support for precise coverage reporting
You can now do something like this: $ pytest -k test_browser --js-cov-files='*/fsinfo.ts' and get results like this: pkg/lib/cockpit/fsinfo.ts:33:49-33:63 json_merge ▼ from here 33 const updated = is_json_dict(current) ? { ...current } : { }; ▲ to here pkg/lib/cockpit/fsinfo.ts:36:33-38:14 json_merge ▼ from here 36 if (value === null) { 37 delete updated[key]; 38 } else { ▲ to here Since we also use the same approach for collecting data for integration tests (Profiler.takePreciseCoverage), we could easily add support there as well.
- Loading branch information