mirror of
https://github.com/status-im/sourcecred.git
synced 2025-01-10 12:46:16 +00:00
2d4acf62c5
Summary: Resolves #800. The newly added test takes about 2ms per file. Test Plan: Run `yarn sharness`, and note that it passes. Then, edit (say) `src/main/test.js` to change the top-level describe block from `"cli/main"` to something else, or to remove it altogether. Re-run `yarn sharness` and note that it fails with a helpful message: ``` test_js_tests_have_top_level_describe_block_with_filename.t .. 1/? not ok 31 - test file: cli/main.test.js test_js_tests_describe_filename.t .. Dubious, test returned 1 (wstat 256, 0x100) Failed 1/65 subtests ``` wchargin-branch: describe-test