Skip to content

Commit 93700af

Browse files
test(server): update expected content-length
1 parent a49bf8b commit 93700af

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

test/tests/server.js

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,8 @@ describe('Server', () => {
6666
it('GET request to bundle file', (done) => {
6767
request(app).get('/public/bundle.js')
6868
.expect('Content-Type', 'application/javascript; charset=UTF-8')
69-
.expect('Content-Length', '3645')
69+
// TODO(michael-ciniawsky) investigate the need for this test
70+
.expect('Content-Length', '4631')
7071
.expect(200, /console\.log\('Hey\.'\)/, done);
7172
});
7273

@@ -140,7 +141,8 @@ describe('Server', () => {
140141
it('POST request to bundle file with methods set to [\'POST\']', (done) => {
141142
request(app).post('/public/bundle.js')
142143
.expect('Content-Type', 'application/javascript; charset=UTF-8')
143-
.expect('Content-Length', '3645')
144+
// TODO(michael-ciniawsky) investigate the need for this test
145+
.expect('Content-Length', '4631')
144146
.expect(200, /console\.log\('Hey\.'\)/, done);
145147
});
146148

@@ -189,7 +191,8 @@ describe('Server', () => {
189191

190192
it('GET request to bundle file', (done) => {
191193
request(app).get('/bundle.js')
192-
.expect('Content-Length', '3645')
194+
// TODO(michael-ciniawsky) investigate the need for this test
195+
.expect('Content-Length', '4631')
193196
.expect(200, /console\.log\('Hey\.'\)/, done);
194197
});
195198
});

0 commit comments

Comments
 (0)