To reproduce
it("refreshes after being seeded with an initial value", () => {
const atom = Atom.make(() => 1).pipe(
Atom.withReactivity(["counter"]),
Atom.keepAlive
)
const r = Registry.make({
initialValues: [Atom.initialValue(atom, 0)]
})
assert.strictEqual(r.get(atom), 0)
r.refresh(atom)
assert.strictEqual(r.get(atom), 1)
})