Skip to content

Nest.js header is set to wrong type #76

Description

@ismoiliy98

Here:

@Header('content-type', 'text/html')

you are trying to set the header Content-Type to text/html

But in benchmark you are expecting it to be text/plain, I think that is the cause why you cannot run tests on Nest.js

if (!index.headers.get('Content-Type')?.includes('text/plain'))

You put nestjs into black list with the reason:

// Not setting content-type header for some reason
'node/nest/index',

Is this supposed to be like this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions