test_intrinsic_elements_are_not_sites

Tests › tests/test_jsx_edges.py

passed Passed in the packaged run.

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

  1. names = {site[0] for site in _jsx_sites(_PAGE)}
→

When

  1. —
→

Then

  1. ✓ names & {"div", "span"} is false

tests/test_jsx_edges.py:70 · its file's page

What it checks (1)

  1. assert not names & {"div", "span"}, names observes _jsx_sites via names

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_sites

What 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.