mirror of
https://github.com/strapi/strapi.git
synced 2025-08-03 14:28:40 +00:00
13 lines
290 B
JavaScript
13 lines
290 B
JavaScript
![]() |
'use strict';
|
||
|
|
||
|
const Stream = require('stream');
|
||
|
|
||
|
const response = require('../helpers/context').response;
|
||
|
|
||
|
describe('res.socket', function () {
|
||
|
it('should return the request socket object', function () {
|
||
|
const res = response();
|
||
|
res.socket.should.be.instanceOf(Stream);
|
||
|
});
|
||
|
});
|