test_intrinsic_elements_are_not_sites¶
Tests › tests/test_jsx_edges.py
What this test is for
Why it exists
THE FILTER THAT KEEPS THIS FROM BEING NOISE. Without it a page of markup would emit one edge per `div`, each pointing at a function that does not exist.
Given
names = {site[0] for site in _jsx_sites(_PAGE)}
When
- —
Then
- ✓ names & {"div", "span"} is false
tests/test_jsx_edges.py:70 · its file's page
What it checks (1)
assert not names & {"div", "span"}, namesobserves_jsx_sitesvianames
Where the product reaches it
No product flow reaches this code: no product entry point's flow calls any of the functions this test calls.
Call flow
test_intrinsic_elements_are_not_sites→_jsx_sitesWhat it reaches
Each row runs from this test, through the calls it makes, to the code a requirement names. If that code breaks, the test's checks are what should catch it. Reaching is not proving: a check only proves what it observes. No mutation records were given, so these rows say what the test REACHES.
Also reaches 1 requirement
Its run touches their code; that is reach, not proof.
- REQ-DDB-PIPE-012 measured