Skip to content

Commit 6fbfbb8

Browse files
revert logging
1 parent 9ae6aad commit 6fbfbb8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/react-on-rails-pro-node-renderer/tests/htmlStreaming.test.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ const makeRequest = async (options = {}) => {
6262
try {
6363
return JSON.parse(chunk);
6464
} catch (e) {
65-
return { hasErrors: true, error: `JSON parsing failed: ${e.message}`, chunk, chunksSize: decodedChunksFromData.length };
65+
return { hasErrors: true, error: `JSON parsing failed: ${e.message}` };
6666
}
6767
}),
6868
);
@@ -206,7 +206,6 @@ describe('html streaming', () => {
206206
expect(fullBody).toContain('branch2 (level 0)');
207207

208208
// Fail to findout the chunks content on CI
209-
expect(JSON.stringify(jsonChunks, undefined, 2)).toContain('nnnnnnnnnnnnnnnnnn');
210209
expect(jsonChunks[0].isShellReady).toBeTruthy();
211210
expect(jsonChunks[0].hasErrors).toBeTruthy();
212211
expect(jsonChunks[0].renderingError).toMatchObject({

0 commit comments

Comments
 (0)