Test settings
On this page
A test needs no settings. Without them, its clock is fixed at
2000-01-01T00:00:00Z, never the real time; each configuration field
has its test: or default: value from config.jadpo; and each call to a
provider answers with its fake's generated default.
To change any of these, write a name: value setting at the top of the
test's body, before its first statement. There are three, and all are
optional.
clock:
The instant the test starts at, written out: "2026-01-15T12:00:00Z"
(Controlling time).
config:
Configuration values that differ from the test values in config.jadpo
(Configuration in tests).
fakes:
The responses each integration operation gives, in order (Fakes for integrations).
Everything in the test itself
Settings are written once per test, so a reader sees everything that shapes the result in the test itself. Shared data isn't a setting: it comes from fixtures (Shared test data: fixtures).
Markdown for agents: /docs/test-settings.md.Built from Jadpo main at a707efb.