see on GitHub

Replication : Using Embedded instance

Embedded RavenDB in version 4.0

Running embedded RavenDB instances is supported starting from version 4.1. You can read more about it here.