Documentation
¶
Overview ¶
testserver runs the sync engine with the test entities (Todo, Widget), the complete_all mutator and a deny-rule permission hook. The integration suites spawn it on port 0 and read the address from stdout. With -access it serves the access-model test schema instead, and /debug/trusted to seed its grant rows.
It also serves permissive CORS and a /debug/rpc counter endpoint so the browser e2e suite can reach it from the harness origin and assert what did (and did not) reach the server; see debug.go.
Click to show internal directories.
Click to hide internal directories.