I'm getting the following error when trying to run my unit tests:
node:internal/process/promises:246
triggerUncaughtException(err, true /* fromPromise */);
^
[UnhandledPromiseRejection: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason "TypeError: sapHeader.isDeleted is not a function".] {
code: 'ERR_UNHANDLED_REJECTION'
}
The thing is, I'm using a global ExceptionsFilters (exactly as it is on NestJS Doc), so I shouldn't need to manually place try catches all over my application, should I?
I'm entirely new on Nest, so I'm not sure what information I need to share.