I'm using Node and the node-postgres package and I would like to perform some unit tests using jest and supertest without saving to the actual database.
When using sequelize it is possible to configure the storage in memory, like so:
const sequelize = new Sequelize({
...
storage: ":memory:"
});
I know it is possible to set the dialect to Postgres in sequelize, but I was wondering how would one go about to set the in memory storage using node-postgres. Is that possible?
Thanks