Instantiate every mock in MOCK_NAP_REGISTRY with one shared Nostr store (so a publish in one social domain is visible to the others), an in-memory storage persistence, and the domain list to expose.
MOCK_NAP_REGISTRY
Shared options, selection, user, and store.
Services, persistence, store, and domain lists.
const env = createMockNapEnvironment({ seed: 3 });env.get('relay').mock.state();env.resetAll(); Copy
const env = createMockNapEnvironment({ seed: 3 });env.get('relay').mock.state();env.resetAll();
Instantiate every mock in
MOCK_NAP_REGISTRYwith one shared Nostr store (so a publish in one social domain is visible to the others), an in-memory storage persistence, and the domain list to expose.