Providing a Layer to All Tests in a File

What's the right way to provide a layer to all tests in one file? I'm testing some code that uses pglite (single user postgres compiled to wasm) and am having problems because my tests keep creating new in-memory instances of the database instead of sharing one.
Was this page helpful?