mirror of
https://github.com/nestjs/nest.git
synced 2026-02-21 23:11:44 +00:00
test: update integration tests
This commit is contained in:
@@ -2673,30 +2673,6 @@
|
||||
}
|
||||
],
|
||||
"1634859874": [
|
||||
{
|
||||
"type": "middleware",
|
||||
"methodName": "use",
|
||||
"className": "LoggerMiddleware",
|
||||
"classNodeId": "1634859874",
|
||||
"metadata": {
|
||||
"key": "/cats/",
|
||||
"path": "/cats/",
|
||||
"requestMethod": "POST"
|
||||
},
|
||||
"id": "1634859874_use"
|
||||
},
|
||||
{
|
||||
"type": "middleware",
|
||||
"methodName": "use",
|
||||
"className": "LoggerMiddleware",
|
||||
"classNodeId": "1634859874",
|
||||
"metadata": {
|
||||
"key": "/cats/",
|
||||
"path": "/cats/",
|
||||
"requestMethod": "GET"
|
||||
},
|
||||
"id": "1634859874_use"
|
||||
},
|
||||
{
|
||||
"type": "middleware",
|
||||
"methodName": "use",
|
||||
|
||||
@@ -77,7 +77,7 @@ describe('Fastify FileSend', () => {
|
||||
expect(headers['content-disposition']).to.equal(
|
||||
'attachment; filename="Readme.md"',
|
||||
);
|
||||
expect(headers['content-length']).to.equal(readme.byteLength);
|
||||
expect(headers['content-length']).to.equal(`${readme.byteLength}`);
|
||||
expect(payload).to.equal(readmeString);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user