The backend package.json 'tests' script now spins up a single docker container with the test database, runs jest's tests and then removes this container.
Meaning tests are performed on a clean database each time and you don't have to worry about excess memory usage from running five containers at once since the test database will just close once done.
The backend package.json 'tests' script now spins up a single docker container with the test database, runs jest's tests and then removes this container.
Meaning tests are performed on a clean database each time and you don't have to worry about excess memory usage from running five containers at once since the test database will just close once done.