Micael Levi L. Cavalcante

Results 257 comments of Micael Levi L. Cavalcante

> I think it's better to implement this feature in another PR sure! And just write `closes #4073` in PR's body so then I'll get notified about your PR :)

@jmcdo29 idk if already know but you could add the following to `jest.config.js`/`jest.integration.js`: ```js globals: { 'ts-jest': { // Disable type-checking ability and some TS features in favor of speed!...

@jmcdo29 wasn't this fixed by your PR https://github.com/nestjs/passport/pull/824

Here's a repo reproducing this: https://gitlab.com/micalevisk/nestjs-issue-8469 --- For some reason, when `FastifyAdapter` is used, the following line is evaluated twice https://github.com/nestjs/nest/blob/411ef5e237b487c447e6b28fafaf3914ffa75778/packages/platform-fastify/adapters/fastify-adapter.ts#L293 (after adding `console.log({body})` before L293 above) ![image](https://user-images.githubusercontent.com/13461315/147183882-c01c0546-dcca-4235-bc95-0e6cee8a6af3.png) which means...

@vytautas-pranskunas- I believe an workaround would be using your own expection filter that catches everything (like [this](https://docs.nestjs.com/exception-filters#catch-everything) one)

@tkskumar would be something like this: app.e2e-spec.ts ```ts describe('AppController (e2e)', () => { let app: INestApplication beforeAll(async () => { const moduleRef = await Test.createTestingModule({ imports: [AppModule], }).compile() app =...

regarding testing interceptors, given a `TimeoutInterceptor` that looks like this: ```ts import { Injectable, NestInterceptor, ExecutionContext, CallHandler, RequestTimeoutException, } from '@nestjs/common'; import ms from 'ms'; import { Observable, throwError, TimeoutError...

@jmcdo29 I was thinking on adding a very basic sample that uses that `TimeoutInterceptor` just to demonstrate how we can write an unit test for the `timeout` operator of rxjs....

> I do not know what "TSIA" means. _Title Says It All_ :smile:

looks like that service isn't alive anymore. I tried to sign-in using GitHub but got this: ![image](https://user-images.githubusercontent.com/13461315/186526295-eb890e81-7cca-4516-b203-6f95b587defa.png)