Inspection controls attached to the mock persistence as mock.
mock
const persistence = createMockStatePersistence();persistence.set('napplet-state:feed:abc:draft', 'hello');persistence.mock.state().get('napplet-state:feed:abc:draft'); // 'hello'persistence.mock.reset(); Copy
const persistence = createMockStatePersistence();persistence.set('napplet-state:feed:abc:draft', 'hello');persistence.mock.state().get('napplet-state:feed:abc:draft'); // 'hello'persistence.mock.reset();
Drop every entry and restore the seed.
Live backing map of scoped key → value (treat as read-only).
Inspection controls attached to the mock persistence as
mock.Example