Describe the bug
The newly inserted item is removed on next tick.
To Reproduce
- Open
packages/db/tests/local-only.test.ts
- Add the below to the end of the
should accept and persist mutations from manual transactions test
await new Promise((resolve) => setTimeout(resolve, 10))
expect(collection.get(100)).toEqual({ id: 100, name: `Manual Tx Insert` })