[ci] format
This commit is contained in:
parent
0883fd4875
commit
6916e5c79f
2 changed files with 6 additions and 6 deletions
|
@ -96,7 +96,7 @@ describe('API routes in SSR', () => {
|
|||
});
|
||||
|
||||
it('Can set multiple headers of the same type', async () => {
|
||||
const response = await new Promise(resolve => {
|
||||
const response = await new Promise((resolve) => {
|
||||
let { port } = devServer.address;
|
||||
let host = 'localhost';
|
||||
let socket = new net.Socket();
|
||||
|
@ -107,8 +107,8 @@ describe('API routes in SSR', () => {
|
|||
});
|
||||
|
||||
let rawResponse = '';
|
||||
socket.setEncoding('utf-8')
|
||||
socket.on('data', chunk => {
|
||||
socket.setEncoding('utf-8');
|
||||
socket.on('data', (chunk) => {
|
||||
rawResponse += chunk.toString();
|
||||
socket.destroy();
|
||||
});
|
||||
|
@ -123,7 +123,7 @@ describe('API routes in SSR', () => {
|
|||
count++;
|
||||
}
|
||||
|
||||
expect(count).to.equal(2, 'Found two seperate set-cookie response headers')
|
||||
expect(count).to.equal(2, 'Found two seperate set-cookie response headers');
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue