MCPcopy Index your code
hub / github.com/reflex-dev/reflex / _patch_web_dir

Function _patch_web_dir

tests/units/test_prerequisites.py:29–31  ·  view source on GitHub ↗
(monkeypatch: pytest.MonkeyPatch, web_dir: Path)

Source from the content-addressed store, hash-verified

27
28
29def _patch_web_dir(monkeypatch: pytest.MonkeyPatch, web_dir: Path):
30 monkeypatch.setattr(frontend_skeleton, "get_web_dir", lambda: web_dir)
31 monkeypatch.setattr(js_runtimes, "get_web_dir", lambda: web_dir)
32
33
34def _patch_frontend_package_manager(

Calls

no outgoing calls

Tested by

no test coverage detected