b2943390dc
This commit modifies `discourse/createGraph` so that it finds all of the same-server Discourse references in Discourse posts, and creates appropriately typed references edges in response. The unit tests have been updated with cases for both references that should exist, and references that shouldn't (e.g. post index out of bounds, or a reference to the wrong server). Test plan: `yarn test --full` along with snapshot update. This is progress towards [Discourse reference and mention detection][1]. [1]: https://discourse.sourcecred.io/t/discourse-reference-mention-detection/270 |
||
---|---|---|
.. | ||
__snapshots__ | ||
.gitignore | ||
Makefile | ||
SHARNESS_LICENSE | ||
aggregate-results.sh | ||
dummy.t | ||
sharness.sh | ||
test_build_static_site.t | ||
test_cli_scores.t | ||
test_js_tests_have_top_level_describe_block_with_filename.t | ||
test_load_example_github.t | ||
test_no_raw_anchor_elements.t |