sourcecred/sharness
Dandelion Mané b2943390dc
add discourse references to the graph (#1410)
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
2019-10-18 10:56:53 -06:00
..
__snapshots__ Fix full build after #1391 (#1393) 2019-09-30 17:37:04 -06:00
.gitignore Add a `.gitignore` for Sharness (#673) 2018-08-15 16:31:00 -07:00
Makefile Add `sharness` for shell-based testing (#597) 2018-08-06 12:56:25 -07:00
SHARNESS_LICENSE Add `sharness` for shell-based testing (#597) 2018-08-06 12:56:25 -07:00
aggregate-results.sh Add `sharness` for shell-based testing (#597) 2018-08-06 12:56:25 -07:00
dummy.t Add `sharness` for shell-based testing (#597) 2018-08-06 12:56:25 -07:00
sharness.sh Add `sharness` for shell-based testing (#597) 2018-08-06 12:56:25 -07:00
test_build_static_site.t Fixup project for move of example repos 2019-07-23 02:36:28 +01:00
test_cli_scores.t Fixup project for move of example repos 2019-07-23 02:36:28 +01:00
test_js_tests_have_top_level_describe_block_with_filename.t Disable the Git plugin 2019-07-09 19:40:17 +01:00
test_load_example_github.t Fixup project for move of example repos 2019-07-23 02:36:28 +01:00
test_no_raw_anchor_elements.t add discourse references to the graph (#1410) 2019-10-18 10:56:53 -06:00