Skip to content

Commit a58faac

Browse files
committed
fix tests
1 parent 4d0d901 commit a58faac

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

packages/react-client/src/__tests__/ReactFlight-test.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1379,10 +1379,10 @@ describe('ReactFlight', () => {
13791379
message: 'This is an error',
13801380
stack: expect.stringContaining(
13811381
'Error: This is an error\n' +
1382-
' at eval (eval at testFunction (inspected-page.html:29:11),%20%3Canonymous%3E:1:10)\n' +
1382+
' at eval (eval at testFunction (inspected-page.html:29:11),%20%3Canonymous%3E:1:35)\n' +
13831383
' at ServerComponentError (file://~/(some)(really)(exotic-directory)/ReactFlight-test.js:1166:19)\n' +
1384-
' at file:///testing.js:42:3\n' +
1385-
' at file:///testing.js:42:3\n' +
1384+
' at <anonymous> (file:///testing.js:42:3)\n' +
1385+
' at <anonymous> (file:///testing.js:42:3)\n' +
13861386
' at div (<anonymous>',
13871387
),
13881388
digest: 'a dev digest',
@@ -3435,7 +3435,7 @@ describe('ReactFlight', () => {
34353435
);
34363436
});
34373437

3438-
// @gate enableOwnerStacks || !__DEV__
3438+
// @gate (enableOwnerStacks) || !__DEV__
34393439
it('should include only one component stack in replayed logs (if DevTools or polyfill adds them)', () => {
34403440
class MyError extends Error {
34413441
toJSON() {

0 commit comments

Comments
 (0)