No test files to reset
No test files to reset
+ cd /testbed
+ git config --global --add safe.directory /testbed
+ cd /testbed
+ echo 'No test files to reset'
+ git apply --verbose --reject -
Checking patch packages/layout/tests/node/shouldBreak.test.js...
Applied patch packages/layout/tests/node/shouldBreak.test.js cleanly.
+ : '>>>>> Start Test Output'
+ NODE_OPTIONS=--experimental-vm-modules
+ ./node_modules/.bin/jest --no-color
Browserslist: caniuse-lite is outdated. Please run:
  npx update-browserslist-db@latest
  Why you should do it regularly: https://github.com/browserslist/update-db#readme
Browserslist: caniuse-lite is outdated. Please run:
  npx update-browserslist-db@latest
  Why you should do it regularly: https://github.com/browserslist/update-db#readme
Browserslist: caniuse-lite is outdated. Please run:
  npx update-browserslist-db@latest
  Why you should do it regularly: https://github.com/browserslist/update-db#readme
Browserslist: caniuse-lite is outdated. Please run:
  npx update-browserslist-db@latest
  Why you should do it regularly: https://github.com/browserslist/update-db#readme
Browserslist: caniuse-lite is outdated. Please run:
  npx update-browserslist-db@latest
  Why you should do it regularly: https://github.com/browserslist/update-db#readme
Browserslist: caniuse-lite is outdated. Please run:
  npx update-browserslist-db@latest
  Why you should do it regularly: https://github.com/browserslist/update-db#readme
Browserslist: caniuse-lite is outdated. Please run:
  npx update-browserslist-db@latest
  Why you should do it regularly: https://github.com/browserslist/update-db#readme
Browserslist: caniuse-lite is outdated. Please run:
  npx update-browserslist-db@latest
  Why you should do it regularly: https://github.com/browserslist/update-db#readme
Browserslist: caniuse-lite is outdated. Please run:
  npx update-browserslist-db@latest
  Why you should do it regularly: https://github.com/browserslist/update-db#readme
Browserslist: caniuse-lite is outdated. Please run:
  npx update-browserslist-db@latest
  Why you should do it regularly: https://github.com/browserslist/update-db#readme
Browserslist: caniuse-lite is outdated. Please run:
  npx update-browserslist-db@latest
  Why you should do it regularly: https://github.com/browserslist/update-db#readme
Browserslist: caniuse-lite is outdated. Please run:
  npx update-browserslist-db@latest
  Why you should do it regularly: https://github.com/browserslist/update-db#readme
Browserslist: caniuse-lite is outdated. Please run:
  npx update-browserslist-db@latest
  Why you should do it regularly: https://github.com/browserslist/update-db#readme
Browserslist: caniuse-lite is outdated. Please run:
  npx update-browserslist-db@latest
  Why you should do it regularly: https://github.com/browserslist/update-db#readme
Browserslist: caniuse-lite is outdated. Please run:
  npx update-browserslist-db@latest
  Why you should do it regularly: https://github.com/browserslist/update-db#readme
Browserslist: caniuse-lite is outdated. Please run:
  npx update-browserslist-db@latest
  Why you should do it regularly: https://github.com/browserslist/update-db#readme
Browserslist: caniuse-lite is outdated. Please run:
  npx update-browserslist-db@latest
  Why you should do it regularly: https://github.com/browserslist/update-db#readme
Browserslist: caniuse-lite is outdated. Please run:
  npx update-browserslist-db@latest
  Why you should do it regularly: https://github.com/browserslist/update-db#readme
Browserslist: caniuse-lite is outdated. Please run:
  npx update-browserslist-db@latest
  Why you should do it regularly: https://github.com/browserslist/update-db#readme
PASS packages/render/tests/utils/objectFit.test.js
PASS packages/textkit/tests/run/slice.test.js
PASS packages/textkit/tests/run/insert.test.js
PASS packages/stylesheet/tests/transform.test.js
PASS packages/textkit/tests/attributedString/insertGlyph.test.js
PASS packages/stylesheet/tests/resolve.test.js
FAIL packages/layout/tests/node/shouldBreak.test.js
  ● node shouldBreak › should break when minPresenceAhead is large enough and there are overflowing siblings after the child

    TypeError: Cannot read properties of undefined (reading 'presenceAhead')

      21 |     const isElementInside = height > element.box.top;
      22 |     const presenceAhead =
    > 23 |       element.props.presenceAhead || defaultPresenceAhead(element);
         |                     ^
      24 |
      25 |     if (element && isElementInside) {
      26 |       result += presenceAhead(height - element.box.top);

      at presenceAhead (src/node/shouldBreak.js:23:21)
      at getPresenceAhead (src/node/shouldBreak.js:35:25)
      at Object.<anonymous> (tests/node/shouldBreak.test.js:71:31)

  ● node shouldBreak › should break when minPresenceAhead is large enough and there are overflowing siblings due to margins after the child

    TypeError: Cannot read properties of undefined (reading 'presenceAhead')

      21 |     const isElementInside = height > element.box.top;
      22 |     const presenceAhead =
    > 23 |       element.props.presenceAhead || defaultPresenceAhead(element);
         |                     ^
      24 |
      25 |     if (element && isElementInside) {
      26 |       result += presenceAhead(height - element.box.top);

      at presenceAhead (src/node/shouldBreak.js:23:21)
      at getPresenceAhead (src/node/shouldBreak.js:35:25)
      at Object.<anonymous> (tests/node/shouldBreak.test.js:84:31)

  ● node shouldBreak › should not break when minPresenceAhead is not past the page end

    TypeError: Cannot read properties of undefined (reading 'presenceAhead')

      21 |     const isElementInside = height > element.box.top;
      22 |     const presenceAhead =
    > 23 |       element.props.presenceAhead || defaultPresenceAhead(element);
         |                     ^
      24 |
      25 |     if (element && isElementInside) {
      26 |       result += presenceAhead(height - element.box.top);

      at presenceAhead (src/node/shouldBreak.js:23:21)
      at getPresenceAhead (src/node/shouldBreak.js:35:25)
      at Object.<anonymous> (tests/node/shouldBreak.test.js:97:31)

  ● node shouldBreak › should not break when the siblings after the child do not overflow past the page end

    TypeError: Cannot read properties of undefined (reading 'presenceAhead')

      21 |     const isElementInside = height > element.box.top;
      22 |     const presenceAhead =
    > 23 |       element.props.presenceAhead || defaultPresenceAhead(element);
         |                     ^
      24 |
      25 |     if (element && isElementInside) {
      26 |       result += presenceAhead(height - element.box.top);

      at presenceAhead (src/node/shouldBreak.js:23:21)
      at getPresenceAhead (src/node/shouldBreak.js:35:25)
      at Object.<anonymous> (tests/node/shouldBreak.test.js:110:31)

  ● node shouldBreak › should not break when the siblings after the child do not overflow past the page end, with margins

    TypeError: Cannot read properties of undefined (reading 'presenceAhead')

      21 |     const isElementInside = height > element.box.top;
      22 |     const presenceAhead =
    > 23 |       element.props.presenceAhead || defaultPresenceAhead(element);
         |                     ^
      24 |
      25 |     if (element && isElementInside) {
      26 |       result += presenceAhead(height - element.box.top);

      at presenceAhead (src/node/shouldBreak.js:23:21)
      at getPresenceAhead (src/node/shouldBreak.js:35:25)
      at Object.<anonymous> (tests/node/shouldBreak.test.js:123:31)

  ● node shouldBreak › should not break when only the last sibling's bottom margin overflows past the page end

    TypeError: Cannot read properties of undefined (reading 'presenceAhead')

      21 |     const isElementInside = height > element.box.top;
      22 |     const presenceAhead =
    > 23 |       element.props.presenceAhead || defaultPresenceAhead(element);
         |                     ^
      24 |
      25 |     if (element && isElementInside) {
      26 |       result += presenceAhead(height - element.box.top);

      at presenceAhead (src/node/shouldBreak.js:23:21)
      at getPresenceAhead (src/node/shouldBreak.js:35:25)
      at Object.<anonymous> (tests/node/shouldBreak.test.js:136:31)

  ● node shouldBreak › should not break due to minPresenceAhead when breaking does not improve presence, to avoid infinite loops

    TypeError: Cannot read properties of undefined (reading 'presenceAhead')

      21 |     const isElementInside = height > element.box.top;
      22 |     const presenceAhead =
    > 23 |       element.props.presenceAhead || defaultPresenceAhead(element);
         |                     ^
      24 |
      25 |     if (element && isElementInside) {
      26 |       result += presenceAhead(height - element.box.top);

      at presenceAhead (src/node/shouldBreak.js:23:21)
      at getPresenceAhead (src/node/shouldBreak.js:35:25)
      at Object.<anonymous> (tests/node/shouldBreak.test.js:149:31)

  ● node shouldBreak › should never break fixed child

    TypeError: Cannot read properties of undefined (reading 'presenceAhead')

      21 |     const isElementInside = height > element.box.top;
      22 |     const presenceAhead =
    > 23 |       element.props.presenceAhead || defaultPresenceAhead(element);
         |                     ^
      24 |
      25 |     if (element && isElementInside) {
      26 |       result += presenceAhead(height - element.box.top);

      at presenceAhead (src/node/shouldBreak.js:23:21)
      at getPresenceAhead (src/node/shouldBreak.js:35:25)
      at Object.<anonymous> (tests/node/shouldBreak.test.js:162:31)

  ● node shouldBreak › should work with trivial minimal reproduction example

    TypeError: Cannot read properties of undefined (reading 'presenceAhead')

      21 |     const isElementInside = height > element.box.top;
      22 |     const presenceAhead =
    > 23 |       element.props.presenceAhead || defaultPresenceAhead(element);
         |                     ^
      24 |
      25 |     if (element && isElementInside) {
      26 |       result += presenceAhead(height - element.box.top);

      at presenceAhead (src/node/shouldBreak.js:23:21)
      at getPresenceAhead (src/node/shouldBreak.js:35:25)
      at Object.<anonymous> (tests/node/shouldBreak.test.js:193:31)

  ● node shouldBreak › should work with minimal infinite loop reproduction example

    TypeError: Cannot read properties of undefined (reading 'presenceAhead')

      21 |     const isElementInside = height > element.box.top;
      22 |     const presenceAhead =
    > 23 |       element.props.presenceAhead || defaultPresenceAhead(element);
         |                     ^
      24 |
      25 |     if (element && isElementInside) {
      26 |       result += presenceAhead(height - element.box.top);

      at presenceAhead (src/node/shouldBreak.js:23:21)
      at getPresenceAhead (src/node/shouldBreak.js:35:25)
      at Object.<anonymous> (tests/node/shouldBreak.test.js:231:31)

  ● node shouldBreak › should work with reproduction from #2303

    expect(received).toEqual(expected) // deep equality

    Expected: false
    Received: true

      401 |     );
      402 |
    > 403 |     expect(result).toEqual(false);
          |                    ^
      404 |   });
      405 |
      406 |   test('should not break when the child can wrap', () => {

      at Object.toEqual (tests/node/shouldBreak.test.js:403:20)

  ● node shouldBreak › should not break when the child can wrap

    TypeError: Cannot read properties of undefined (reading 'presenceAhead')

      21 |     const isElementInside = height > element.box.top;
      22 |     const presenceAhead =
    > 23 |       element.props.presenceAhead || defaultPresenceAhead(element);
         |                     ^
      24 |
      25 |     if (element && isElementInside) {
      26 |       result += presenceAhead(height - element.box.top);

      at presenceAhead (src/node/shouldBreak.js:23:21)
      at getPresenceAhead (src/node/shouldBreak.js:35:25)
      at Object.<anonymous> (tests/node/shouldBreak.test.js:407:31)

PASS packages/stylesheet/tests/expand.test.js
  ● Console

    console.error
      
          @react-pdf/stylesheet parsing error:
      
          margin: "string",
                  ^
          Unsupported margin value format

       6 |
       7 | const logError = (style, value) => {
    >  8 |   console.error(`
         |           ^
       9 |     @react-pdf/stylesheet parsing error:
      10 |
      11 |     ${style}: ${value},

      at error (src/expand/boxModel.js:8:11)
      at Object.logError [as margin] (src/expand/boxModel.js:36:7)
      at expandStyle (src/expand/index.js:57:43)
      at expandStyle (src/expand/index.js:75:22)
      at tests/expand.test.js:28:28
          at Array.forEach (<anonymous>)
      at Object.forEach (tests/expand.test.js:27:15)

    console.error
      
          @react-pdf/stylesheet parsing error:
      
          margin: url("link.com"),
                  ^
          Unsupported margin value format

       6 |
       7 | const logError = (style, value) => {
    >  8 |   console.error(`
         |           ^
       9 |     @react-pdf/stylesheet parsing error:
      10 |
      11 |     ${style}: ${value},

      at error (src/expand/boxModel.js:8:11)
      at Object.logError [as margin] (src/expand/boxModel.js:36:7)
      at expandStyle (src/expand/index.js:57:43)
      at expandStyle (src/expand/index.js:75:22)
      at tests/expand.test.js:28:28
          at Array.forEach (<anonymous>)
      at Object.forEach (tests/expand.test.js:27:15)

    console.error
      
          @react-pdf/stylesheet parsing error:
      
          margin: auto 2 black 4,
                  ^
          Unsupported margin value format

       6 |
       7 | const logError = (style, value) => {
    >  8 |   console.error(`
         |           ^
       9 |     @react-pdf/stylesheet parsing error:
      10 |
      11 |     ${style}: ${value},

      at error (src/expand/boxModel.js:8:11)
      at Object.logError [as margin] (src/expand/boxModel.js:51:11)
      at expandStyle (src/expand/index.js:57:43)
      at expandStyle (src/expand/index.js:75:22)
      at tests/expand.test.js:28:28
          at Array.forEach (<anonymous>)
      at Object.forEach (tests/expand.test.js:27:15)

    console.error
      
          @react-pdf/stylesheet parsing error:
      
          margin: calc(100% - 10px),
                  ^
          Unsupported margin value format

       6 |
       7 | const logError = (style, value) => {
    >  8 |   console.error(`
         |           ^
       9 |     @react-pdf/stylesheet parsing error:
      10 |
      11 |     ${style}: ${value},

      at error (src/expand/boxModel.js:8:11)
      at Object.logError [as margin] (src/expand/boxModel.js:36:7)
      at expandStyle (src/expand/index.js:57:43)
      at expandStyle (src/expand/index.js:75:22)
      at tests/expand.test.js:28:28
          at Array.forEach (<anonymous>)
      at Object.forEach (tests/expand.test.js:27:15)

    console.error
      
          @react-pdf/stylesheet parsing error:
      
          margin: rgba(1 1 1 / 0.3),
                  ^
          Unsupported margin value format

       6 |
       7 | const logError = (style, value) => {
    >  8 |   console.error(`
         |           ^
       9 |     @react-pdf/stylesheet parsing error:
      10 |
      11 |     ${style}: ${value},

      at error (src/expand/boxModel.js:8:11)
      at Object.logError [as margin] (src/expand/boxModel.js:36:7)
      at expandStyle (src/expand/index.js:57:43)
      at expandStyle (src/expand/index.js:75:22)
      at tests/expand.test.js:28:28
          at Array.forEach (<anonymous>)
      at Object.forEach (tests/expand.test.js:27:15)

    console.error
      
          @react-pdf/stylesheet parsing error:
      
          margin: 1, 2, 3,
                  ^
          Unsupported margin value format

       6 |
       7 | const logError = (style, value) => {
    >  8 |   console.error(`
         |           ^
       9 |     @react-pdf/stylesheet parsing error:
      10 |
      11 |     ${style}: ${value},

      at error (src/expand/boxModel.js:8:11)
      at Object.logError [as margin] (src/expand/boxModel.js:36:7)
      at expandStyle (src/expand/index.js:57:43)
      at expandStyle (src/expand/index.js:75:22)
      at tests/expand.test.js:28:28
          at Array.forEach (<anonymous>)
      at Object.forEach (tests/expand.test.js:27:15)

    console.error
      
          @react-pdf/stylesheet parsing error:
      
          marginLeft: yellow,
                      ^
          Unsupported marginLeft value format

       6 |
       7 | const logError = (style, value) => {
    >  8 |   console.error(`
         |           ^
       9 |     @react-pdf/stylesheet parsing error:
      10 |
      11 |     ${style}: ${value},

      at error (src/expand/boxModel.js:8:11)
      at Object.logError (src/expand/boxModel.js:51:11)
      at expandStyle (src/expand/index.js:57:43)
      at expandStyle (src/expand/index.js:75:22)
      at tests/expand.test.js:28:28
          at Array.forEach (<anonymous>)
      at Object.forEach (tests/expand.test.js:27:15)

    console.error
      
          @react-pdf/stylesheet parsing error:
      
          marginTop: 12lelkek,
                     ^
          Unsupported marginTop value format

       6 |
       7 | const logError = (style, value) => {
    >  8 |   console.error(`
         |           ^
       9 |     @react-pdf/stylesheet parsing error:
      10 |
      11 |     ${style}: ${value},

      at error (src/expand/boxModel.js:8:11)
      at Object.logError (src/expand/boxModel.js:51:11)
      at expandStyle (src/expand/index.js:57:43)
      at expandStyle (src/expand/index.js:75:22)
      at tests/expand.test.js:28:28
          at Array.forEach (<anonymous>)
      at Object.forEach (tests/expand.test.js:27:15)

    console.error
      
          @react-pdf/stylesheet parsing error:
      
          marginBottom: 1 2 3,
                        ^
          Unsupported marginBottom value format

       6 |
       7 | const logError = (style, value) => {
    >  8 |   console.error(`
         |           ^
       9 |     @react-pdf/stylesheet parsing error:
      10 |
      11 |     ${style}: ${value},

      at error (src/expand/boxModel.js:8:11)
      at Object.logError (src/expand/boxModel.js:61:5)
      at expandStyle (src/expand/index.js:57:43)
      at expandStyle (src/expand/index.js:75:22)
      at tests/expand.test.js:28:28
          at Array.forEach (<anonymous>)
      at Object.forEach (tests/expand.test.js:27:15)

    console.error
      
          @react-pdf/stylesheet parsing error:
      
          marginHorizontal: 1 2 3,
                            ^
          Unsupported marginHorizontal value format

       6 |
       7 | const logError = (style, value) => {
    >  8 |   console.error(`
         |           ^
       9 |     @react-pdf/stylesheet parsing error:
      10 |
      11 |     ${style}: ${value},

      at error (src/expand/boxModel.js:8:11)
      at Object.logError [as marginHorizontal] (src/expand/boxModel.js:61:5)
      at expandStyle (src/expand/index.js:57:43)
      at expandStyle (src/expand/index.js:75:22)
      at tests/expand.test.js:28:28
          at Array.forEach (<anonymous>)
      at Object.forEach (tests/expand.test.js:27:15)

    console.error
      
          @react-pdf/stylesheet parsing error:
      
          margin: 1 2 3 4 5,
                  ^
          Unsupported margin value format

       6 |
       7 | const logError = (style, value) => {
    >  8 |   console.error(`
         |           ^
       9 |     @react-pdf/stylesheet parsing error:
      10 |
      11 |     ${style}: ${value},

      at error (src/expand/boxModel.js:8:11)
      at Object.logError [as margin] (src/expand/boxModel.js:61:5)
      at expandStyle (src/expand/index.js:57:43)
      at expandStyle (src/expand/index.js:75:22)
      at tests/expand.test.js:28:28
          at Array.forEach (<anonymous>)
      at Object.forEach (tests/expand.test.js:27:15)

    console.error
      
          @react-pdf/stylesheet parsing error:
      
          margin: function margin() {
                return console.log('function');
              },
                  ^
          Unsupported margin value format

       6 |
       7 | const logError = (style, value) => {
    >  8 |   console.error(`
         |           ^
       9 |     @react-pdf/stylesheet parsing error:
      10 |
      11 |     ${style}: ${value},

      at error (src/expand/boxModel.js:8:11)
      at Object.logError [as margin] (src/expand/boxModel.js:51:11)
      at expandStyle (src/expand/index.js:57:43)
      at expandStyle (src/expand/index.js:75:22)
      at tests/expand.test.js:28:28
          at Array.forEach (<anonymous>)
      at Object.forEach (tests/expand.test.js:27:15)

    console.error
      
          @react-pdf/stylesheet parsing error:
      
          padding: 2 auto,
                   ^
          Unsupported padding value format

       6 |
       7 | const logError = (style, value) => {
    >  8 |   console.error(`
         |           ^
       9 |     @react-pdf/stylesheet parsing error:
      10 |
      11 |     ${style}: ${value},

      at error (src/expand/boxModel.js:8:11)
      at Object.logError [as padding] (src/expand/boxModel.js:51:11)
      at expandStyle (src/expand/index.js:57:43)
      at expandStyle (src/expand/index.js:75:22)
      at tests/expand.test.js:165:28
          at Array.forEach (<anonymous>)
      at Object.forEach (tests/expand.test.js:164:16)

    console.error
      
          @react-pdf/stylesheet parsing error:
      
          padding: "string",
                   ^
          Unsupported padding value format

       6 |
       7 | const logError = (style, value) => {
    >  8 |   console.error(`
         |           ^
       9 |     @react-pdf/stylesheet parsing error:
      10 |
      11 |     ${style}: ${value},

      at error (src/expand/boxModel.js:8:11)
      at Object.logError [as padding] (src/expand/boxModel.js:36:7)
      at expandStyle (src/expand/index.js:57:43)
      at expandStyle (src/expand/index.js:75:22)
      at tests/expand.test.js:165:28
          at Array.forEach (<anonymous>)
      at Object.forEach (tests/expand.test.js:164:16)

    console.error
      
          @react-pdf/stylesheet parsing error:
      
          padding: url("link.com"),
                   ^
          Unsupported padding value format

       6 |
       7 | const logError = (style, value) => {
    >  8 |   console.error(`
         |           ^
       9 |     @react-pdf/stylesheet parsing error:
      10 |
      11 |     ${style}: ${value},

      at error (src/expand/boxModel.js:8:11)
      at Object.logError [as padding] (src/expand/boxModel.js:36:7)
      at expandStyle (src/expand/index.js:57:43)
      at expandStyle (src/expand/index.js:75:22)
      at tests/expand.test.js:165:28
          at Array.forEach (<anonymous>)
      at Object.forEach (tests/expand.test.js:164:16)

    console.error
      
          @react-pdf/stylesheet parsing error:
      
          padding: auto 2 black 4,
                   ^
          Unsupported padding value format

       6 |
       7 | const logError = (style, value) => {
    >  8 |   console.error(`
         |           ^
       9 |     @react-pdf/stylesheet parsing error:
      10 |
      11 |     ${style}: ${value},

      at error (src/expand/boxModel.js:8:11)
      at Object.logError [as padding] (src/expand/boxModel.js:51:11)
      at expandStyle (src/expand/index.js:57:43)
      at expandStyle (src/expand/index.js:75:22)
      at tests/expand.test.js:165:28
          at Array.forEach (<anonymous>)
      at Object.forEach (tests/expand.test.js:164:16)

    console.error
      
          @react-pdf/stylesheet parsing error:
      
          padding: calc(100% - 10px),
                   ^
          Unsupported padding value format

       6 |
       7 | const logError = (style, value) => {
    >  8 |   console.error(`
         |           ^
       9 |     @react-pdf/stylesheet parsing error:
      10 |
      11 |     ${style}: ${value},

      at error (src/expand/boxModel.js:8:11)
      at Object.logError [as padding] (src/expand/boxModel.js:36:7)
      at expandStyle (src/expand/index.js:57:43)
      at expandStyle (src/expand/index.js:75:22)
      at tests/expand.test.js:165:28
          at Array.forEach (<anonymous>)
      at Object.forEach (tests/expand.test.js:164:16)

    console.error
      
          @react-pdf/stylesheet parsing error:
      
          padding: rgba(1 1 1 / 0.3),
                   ^
          Unsupported padding value format

       6 |
       7 | const logError = (style, value) => {
    >  8 |   console.error(`
         |           ^
       9 |     @react-pdf/stylesheet parsing error:
      10 |
      11 |     ${style}: ${value},

      at error (src/expand/boxModel.js:8:11)
      at Object.logError [as padding] (src/expand/boxModel.js:36:7)
      at expandStyle (src/expand/index.js:57:43)
      at expandStyle (src/expand/index.js:75:22)
      at tests/expand.test.js:165:28
          at Array.forEach (<anonymous>)
      at Object.forEach (tests/expand.test.js:164:16)

    console.error
      
          @react-pdf/stylesheet parsing error:
      
          padding: 1, 2, 3,
                   ^
          Unsupported padding value format

       6 |
       7 | const logError = (style, value) => {
    >  8 |   console.error(`
         |           ^
       9 |     @react-pdf/stylesheet parsing error:
      10 |
      11 |     ${style}: ${value},

      at error (src/expand/boxModel.js:8:11)
      at Object.logError [as padding] (src/expand/boxModel.js:36:7)
      at expandStyle (src/expand/index.js:57:43)
      at expandStyle (src/expand/index.js:75:22)
      at tests/expand.test.js:165:28
          at Array.forEach (<anonymous>)
      at Object.forEach (tests/expand.test.js:164:16)

    console.error
      
          @react-pdf/stylesheet parsing error:
      
          padding: yellow,
                   ^
          Unsupported padding value format

       6 |
       7 | const logError = (style, value) => {
    >  8 |   console.error(`
         |           ^
       9 |     @react-pdf/stylesheet parsing error:
      10 |
      11 |     ${style}: ${value},

      at error (src/expand/boxModel.js:8:11)
      at Object.logError [as padding] (src/expand/boxModel.js:51:11)
      at expandStyle (src/expand/index.js:57:43)
      at expandStyle (src/expand/index.js:75:22)
      at tests/expand.test.js:165:28
          at Array.forEach (<anonymous>)
      at Object.forEach (tests/expand.test.js:164:16)

    console.error
      
          @react-pdf/stylesheet parsing error:
      
          paddingTop: 12lelkek,
                      ^
          Unsupported paddingTop value format

       6 |
       7 | const logError = (style, value) => {
    >  8 |   console.error(`
         |           ^
       9 |     @react-pdf/stylesheet parsing error:
      10 |
      11 |     ${style}: ${value},

      at error (src/expand/boxModel.js:8:11)
      at Object.logError (src/expand/boxModel.js:51:11)
      at expandStyle (src/expand/index.js:57:43)
      at expandStyle (src/expand/index.js:75:22)
      at tests/expand.test.js:165:28
          at Array.forEach (<anonymous>)
      at Object.forEach (tests/expand.test.js:164:16)

    console.error
      
          @react-pdf/stylesheet parsing error:
      
          paddingRight: auto,
                        ^
          Unsupported paddingRight value format

       6 |
       7 | const logError = (style, value) => {
    >  8 |   console.error(`
         |           ^
       9 |     @react-pdf/stylesheet parsing error:
      10 |
      11 |     ${style}: ${value},

      at error (src/expand/boxModel.js:8:11)
      at Object.logError (src/expand/boxModel.js:51:11)
      at expandStyle (src/expand/index.js:57:43)
      at expandStyle (src/expand/index.js:75:22)
      at tests/expand.test.js:165:28
          at Array.forEach (<anonymous>)
      at Object.forEach (tests/expand.test.js:164:16)

    console.error
      
          @react-pdf/stylesheet parsing error:
      
          paddingBottom: 1 2 3,
                         ^
          Unsupported paddingBottom value format

       6 |
       7 | const logError = (style, value) => {
    >  8 |   console.error(`
         |           ^
       9 |     @react-pdf/stylesheet parsing error:
      10 |
      11 |     ${style}: ${value},

      at error (src/expand/boxModel.js:8:11)
      at Object.logError (src/expand/boxModel.js:61:5)
      at expandStyle (src/expand/index.js:57:43)
      at expandStyle (src/expand/index.js:75:22)
      at tests/expand.test.js:165:28
          at Array.forEach (<anonymous>)
      at Object.forEach (tests/expand.test.js:164:16)

    console.error
      
          @react-pdf/stylesheet parsing error:
      
          paddingHorizontal: 1 2 3,
                             ^
          Unsupported paddingHorizontal value format

       6 |
       7 | const logError = (style, value) => {
    >  8 |   console.error(`
         |           ^
       9 |     @react-pdf/stylesheet parsing error:
      10 |
      11 |     ${style}: ${value},

      at error (src/expand/boxModel.js:8:11)
      at Object.logError [as paddingHorizontal] (src/expand/boxModel.js:61:5)
      at expandStyle (src/expand/index.js:57:43)
      at expandStyle (src/expand/index.js:75:22)
      at tests/expand.test.js:165:28
          at Array.forEach (<anonymous>)
      at Object.forEach (tests/expand.test.js:164:16)

    console.error
      
          @react-pdf/stylesheet parsing error:
      
          padding: 1 2 3 4 5,
                   ^
          Unsupported padding value format

       6 |
       7 | const logError = (style, value) => {
    >  8 |   console.error(`
         |           ^
       9 |     @react-pdf/stylesheet parsing error:
      10 |
      11 |     ${style}: ${value},

      at error (src/expand/boxModel.js:8:11)
      at Object.logError [as padding] (src/expand/boxModel.js:61:5)
      at expandStyle (src/expand/index.js:57:43)
      at expandStyle (src/expand/index.js:75:22)
      at tests/expand.test.js:165:28
          at Array.forEach (<anonymous>)
      at Object.forEach (tests/expand.test.js:164:16)

    console.error
      
          @react-pdf/stylesheet parsing error:
      
          padding: function padding() {
                return console.log('function');
              },
                   ^
          Unsupported padding value format

       6 |
       7 | const logError = (style, value) => {
    >  8 |   console.error(`
         |           ^
       9 |     @react-pdf/stylesheet parsing error:
      10 |
      11 |     ${style}: ${value},

      at error (src/expand/boxModel.js:8:11)
      at Object.logError [as padding] (src/expand/boxModel.js:51:11)
      at expandStyle (src/expand/index.js:57:43)
      at expandStyle (src/expand/index.js:75:22)
      at tests/expand.test.js:165:28
          at Array.forEach (<anonymous>)
      at Object.forEach (tests/expand.test.js:164:16)

PASS packages/textkit/tests/attributedString/sliceAtOffset.test.js
PASS packages/yoga/tests/padding.test.js (5.824 s)
PASS packages/textkit/tests/layout/generateGlyphs.test.js
PASS packages/yoga/tests/flexDirection.test.js (5.958 s)
PASS packages/yoga/tests/flexSpec.test.js (5.996 s)
PASS packages/textkit/tests/run/append.test.js
PASS packages/yoga/tests/aspectRatio.test.js (6.039 s)
PASS packages/yoga/tests/absolutePosition.test.js (6.14 s)
PASS packages/yoga/tests/rounding.test.js (6.161 s)
PASS packages/yoga/tests/justifyContent.test.js (6.183 s)
PASS packages/yoga/tests/minMaxDimension.test.js (6.22 s)
PASS packages/yoga/tests/percentage.test.js (6.248 s)
PASS packages/textkit/tests/layout/resolveAttachments.test.js
PASS packages/yoga/tests/alignSelf.test.js
PASS packages/yoga/tests/alignContent.test.js (6.516 s)
PASS packages/yoga/tests/flexWrap.test.js (6.592 s)
PASS packages/yoga/tests/margin.test.js (6.595 s)
PASS packages/textkit/tests/attributedString/prepend.test.js
PASS packages/yoga/tests/alignItems.test.js (6.645 s)
PASS packages/yoga/tests/dimention.test.js
PASS packages/textkit/tests/run/prepend.test.js
PASS packages/textkit/tests/attributedString/append.test.js
PASS packages/yoga/tests/position.test.js
PASS packages/textkit/tests/attributedString/slice.test.js
PASS packages/yoga/tests/sizeOverflow.test.js
PASS packages/textkit/tests/layout/resolveYOffset.test.js
PASS packages/layout/tests/node/setDimension.test.js
PASS packages/yoga/tests/edge.test.js
PASS packages/textkit/tests/layout/wrapWords.test.js
PASS packages/layout/tests/steps/resolveStyles.test.js
PASS packages/yoga/tests/flexbox.test.js
PASS packages/textkit/tests/attributedString/dropLast.test.js
PASS packages/yoga/tests/defaultValues.test.js
PASS packages/yoga/tests/border.test.js
PASS packages/yoga/tests/display.test.js
PASS packages/textkit/tests/run/flatten.test.js
PASS packages/textkit/tests/attributedString/indexAtOffset.test.js
PASS packages/layout/tests/steps/resolvePageSizes.test.js
PASS packages/textkit/tests/layout/applyDefaultStyles.test.js
PASS packages/textkit/tests/rect/intersects.test.js
PASS packages/layout/tests/steps/resolveInhritance.test.js
PASS packages/textkit/tests/glyph/slice.test.js
PASS packages/layout/tests/steps/resolvePagePaddings.test.js
PASS packages/layout/tests/steps/resolveBookmarks.test.js
PASS packages/textkit/tests/layout/splitParagraphs.test.js
PASS packages/textkit/tests/attributedString/leadingOffset.test.js
PASS packages/textkit/tests/indices/resolve.test.js
PASS packages/textkit/tests/attributedString/trailingOffset.test.js
PASS packages/layout/tests/image/resolveSource.test.js
PASS packages/textkit/tests/run/advanceWidthBetween.test.js
PASS packages/image/tests/resolve.test.js
PASS packages/stylesheet/tests/flatten.test.js
PASS packages/render/tests/operations/addMetadata.test.js
PASS packages/render/tests/primitives/renderBackground.test.js
PASS packages/textkit/tests/run/indexAtOffset.test.js
PASS packages/textkit/tests/engines/wordHyphenation.test.js
PASS packages/layout/tests/node/setMargin.test.js
PASS packages/layout/tests/page/getSize.test.js
PASS packages/layout/tests/node/setPosition.test.js
PASS packages/stylesheet/tests/mediaQueries.test.js
PASS packages/textkit/tests/run/concat.test.js
PASS packages/textkit/tests/layout/preprocessRuns.test.js
PASS packages/layout/tests/node/setPadding.test.js
PASS packages/layout/tests/node/setAlignContent.test.js
PASS packages/textkit/tests/attributedString/advanceWidthBetween.test.js
PASS packages/layout/tests/node/setAlignItems.test.js
PASS packages/textkit/tests/run/offset.test.js
PASS packages/textkit/tests/run/trailingOffset.test.js
PASS packages/layout/tests/node/setAlignSelf.test.js
PASS packages/layout/tests/node/setBorderWidth.test.js
PASS packages/textkit/tests/run/leadingOffset.test.js
PASS packages/textkit/tests/attributedString/trim.test.js
PASS packages/layout/tests/steps/resolveOrigins.test.js
PASS packages/layout/tests/steps/resolveLinkSubstitution.test.js
PASS packages/primitives/tests/index.test.js
PASS packages/render/tests/svg/getBoundingBox.test.js
PASS packages/layout/tests/node/setJustifyContent.test.js
PASS packages/textkit/tests/engines/scriptItemizer.test.js
PASS packages/textkit/tests/run/dropLast.test.js
PASS packages/render/tests/primitives/renderCanvas.test.js
PASS packages/textkit/tests/run/sort.test.js
PASS packages/layout/tests/node/getMargin.test.js
PASS packages/layout/tests/node/getPadding.test.js
PASS packages/yoga/tests/index.test.js
PASS packages/textkit/tests/engines/fontSubstitution.test.js
PASS packages/layout/tests/node/setFlexDirection.test.js
PASS packages/layout/tests/text/lineIndexAtHeight.test.js
PASS packages/textkit/tests/run/ascent.test.js
PASS packages/fns/tests/get.test.js
PASS packages/yoga/tests/misc.test.js
PASS packages/layout/tests/node/removePaddings.test.js
PASS packages/textkit/tests/run/height.test.js
PASS packages/textkit/tests/layout/verticalAlign.test.js
PASS packages/textkit/tests/attributedString/fromFragments.test.js
PASS packages/layout/tests/text/fromFragments.test.js
PASS packages/image/tests/cache.test.js
PASS packages/layout/tests/node/setFlexWrap.test.js
PASS packages/yoga/tests/infiniteHeight.test.js
PASS packages/layout/tests/steps/resolvePercentHeight.test.js
PASS packages/textkit/tests/run/filter.test.js
PASS packages/layout/tests/text/layoutText.test.js
PASS packages/textkit/tests/engines/linebreaker/bestFit.test.js
PASS packages/fns/tests/evolve.test.js
PASS packages/textkit/tests/run/glyphIndexAt.test.js
PASS packages/textkit/tests/attributedString/ascent.test.js
PASS packages/textkit/tests/run/omit.test.js
PASS packages/layout/tests/text/heightAtLineIndex.test.js
PASS packages/textkit/tests/attributedString/height.test.js
PASS packages/layout/tests/node/setOverflow.test.js
PASS packages/render/tests/svg/parsePoints.test.js
PASS packages/layout/tests/node/getOrigin.test.js
PASS packages/fns/tests/matchPercent.test.js
PASS packages/layout/tests/steps/resolveTextLayout.test.js
PASS packages/textkit/tests/utils/stringFromCodePoints.test.js
PASS packages/layout/tests/steps/resolvePagination.fixedMinPresenceAhead.test.js (5.617 s)
PASS packages/layout/tests/steps/resolvePagination.test.js (6.295 s)
  ● Console

    console.log
      [
        {
          type: 'VIEW',
          box: {
            paddingTop: 0,
            paddingRight: 0,
            paddingBottom: 0,
            paddingLeft: 0,
            marginTop: 0,
            marginRight: 0,
            marginBottom: 0,
            marginLeft: 0,
            borderTopWidth: 0,
            borderRightWidth: 0,
            borderBottomWidth: 0,
            borderLeftWidth: 0,
            top: 0,
            right: 0,
            bottom: 0,
            left: 0,
            width: 5,
            height: 40
          },
          style: { width: 5, height: 40 },
          props: {},
          children: []
        }
      ]

      at Object.log (tests/steps/resolvePagination.test.js:223:13)

PASS packages/layout/tests/node/setDisplay.test.js
PASS packages/textkit/tests/run/descent.test.js
PASS packages/layout/tests/node/getBorderWidth.test.js
PASS packages/layout/tests/node/getPosition.test.js
PASS packages/textkit/tests/run/advanceWidth.test.js
PASS packages/layout/tests/node/setPositionType.test.js
PASS packages/textkit/tests/run/lineGap.test.js
PASS packages/render/tests/primitives/renderEllipse.test.js
PASS packages/render/tests/primitives/renderCircle.test.js
PASS packages/textkit/tests/attributedString/runAt.test.js
PASS packages/renderer/tests/propsEqual.test.js
PASS packages/fns/tests/adjust.test.js
PASS packages/textkit/tests/attributedString/runIndexAt.test.js
PASS packages/render/tests/operations/setDestination.test.js
PASS packages/textkit/tests/run/subtract.test.js
PASS packages/layout/tests/node/setFlexShrink.test.js
PASS packages/renderer/tests/node.test.js (7.32 s)
PASS packages/layout/tests/node/setFlexGrow.test.js
PASS packages/yoga/tests/zeroOutLayoutRecursivly.test.js
PASS packages/layout/tests/page/isHeightAuto.test.js
PASS packages/textkit/tests/attributedString/descent.test.js
PASS packages/textkit/tests/attributedString/advanceWidth.test.js
PASS packages/textkit/tests/indices/normalize.test.js
PASS packages/yoga/tests/nodeChild.test.js
PASS packages/textkit/tests/run/runIndexAt.test.js
PASS packages/render/tests/utils/parseColor.test.js
PASS packages/textkit/tests/run/add.test.js
PASS packages/textkit/tests/glyph/fromCodePoint.test.js
PASS packages/layout/tests/page/getOrientation.test.js
PASS packages/textkit/tests/rect/bottomRight.test.js
PASS packages/textkit/tests/rect/bottomLeft.test.js
PASS packages/textkit/tests/utils/isNumber.test.js
PASS packages/layout/tests/image/getSource.test.js
PASS packages/textkit/tests/layout/layoutParagraph.test.js
PASS packages/textkit/tests/rect/partition.test.js
PASS packages/layout/tests/node/setAspectRatio.test.js
PASS packages/textkit/tests/indices/prepend.test.js
PASS packages/renderer/tests/usePDF.test.js
PASS packages/renderer/tests/components.test.js
PASS packages/textkit/tests/indices/append.test.js
PASS packages/layout/tests/node/setFlexBasis.test.js
PASS packages/renderer/tests/dom.test.js
PASS packages/layout/tests/node/getDimension.test.js
PASS packages/yoga/tests/computedPadding.test.js
PASS packages/textkit/tests/run/getFont.test.js
PASS packages/yoga/tests/computedMargin.test.js
PASS packages/fns/tests/capitalize.test.js
PASS packages/textkit/tests/run/scale.test.js
PASS packages/renderer/tests/gap.test.js (5.397 s)
PASS packages/textkit/tests/glyph/isWhiteSpace.test.js
PASS packages/renderer/tests/text.test.js (8.05 s)
PASS packages/layout/tests/page/isPortrait.test.js
PASS packages/textkit/tests/rect/equals.test.js
PASS packages/layout/tests/page/isLandscape.test.js
PASS packages/fns/tests/upperFirst.test.js
PASS packages/fns/tests/dropLast.test.js
PASS packages/fns/tests/pick.test.js
PASS packages/fns/tests/castArray.test.js
PASS packages/textkit/tests/attributedString/start.test.js
PASS packages/textkit/tests/attributedString/length.test.js
PASS packages/renderer/tests/link.test.js
PASS packages/textkit/tests/rect/maxX.test.js
PASS packages/textkit/tests/rect/area.test.js
PASS packages/textkit/tests/attributedString/end.test.js
PASS packages/textkit/tests/rect/maxY.test.js
PASS packages/textkit/tests/rect/copy.test.js
PASS packages/textkit/tests/run/empty.test.js
PASS packages/fns/tests/isNil.test.js
PASS packages/fns/tests/last.test.js
PASS packages/fns/tests/compose.test.js
PASS packages/textkit/tests/run/isEmpty.test.js
PASS packages/textkit/tests/rect/empty.test.js
PASS packages/textkit/tests/run/length.test.js
PASS packages/textkit/tests/attributedString/empty.test.js
PASS packages/fns/tests/reverse.test.js
PASS packages/fns/tests/omit.test.js
PASS packages/renderer/tests/debug.test.js (5.431 s)
PASS packages/renderer/tests/emoji.test.js
PASS packages/renderer/tests/flex.test.js (7.674 s)
PASS packages/renderer/tests/orphanTexts.test.js
  ● Console

    console.warn
      Invalid '' string child outside <Text> component

      21 |   // Caused by cases such as <>{name && <Text>{name}</Text>}</>
      22 |   if (isOrphanTextInstance) {
    > 23 |     console.warn(
         |             ^
      24 |       `Invalid '${child.value}' string child outside <Text> component`,
      25 |     );
      26 |     return;

      at warn (src/renderer.js:23:13)
      at Fa (../../node_modules/react-reconciler/cjs/react-reconciler.production.min.js:99:77)
      at _Ge (../../node_modules/react-reconciler/cjs/react-reconciler.production.min.js:141:156)
      at gg (../../node_modules/react-reconciler/cjs/react-reconciler.production.min.js:139:86)
      at hg (../../node_modules/react-reconciler/cjs/react-reconciler.production.min.js:138:366)
      at bg (../../node_modules/react-reconciler/cjs/react-reconciler.production.min.js:132:214)
      at c (../../node_modules/react-reconciler/cjs/react-reconciler.production.min.js:30:115)
      at unstable_runWithPriority (../../node_modules/scheduler/cjs/scheduler.development.js:818:12)
      at Mb (../../node_modules/react-reconciler/cjs/react-reconciler.production.min.js:29:325)
      at hc (../../node_modules/react-reconciler/cjs/react-reconciler.production.min.js:30:61)
      at kc (../../node_modules/react-reconciler/cjs/react-reconciler.production.min.js:29:495)
      at F (../../node_modules/react-reconciler/cjs/react-reconciler.production.min.js:123:155)
      at Object.Wc [as updateContainer] (../../node_modules/react-reconciler/cjs/react-reconciler.production.min.js:181:185)
      at updateContainer (src/index.js:29:14)
      at updateContainer (src/index.js:32:21)
      at pdf (src/node/renderTo.js:7:20)
      at tryCatch (../../node_modules/@babel/runtime/helpers/regeneratorRuntime.js:44:17)
      at Generator.<anonymous> (../../node_modules/@babel/runtime/helpers/regeneratorRuntime.js:125:22)
      at Generator.next (../../node_modules/@babel/runtime/helpers/regeneratorRuntime.js:69:21)
      at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
      at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:22:9)
      at ../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:27:7
      at ../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:19:12
      at apply (src/node/renderTo.js:6:28)
      at renderToStream (src/node/renderTo.js:28:3)
      at _callee$ (tests/renderComponent.js:96:38)
      at tryCatch (../../node_modules/@babel/runtime/helpers/regeneratorRuntime.js:44:17)
      at Generator.<anonymous> (../../node_modules/@babel/runtime/helpers/regeneratorRuntime.js:125:22)
      at Generator.next (../../node_modules/@babel/runtime/helpers/regeneratorRuntime.js:69:21)
      at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
      at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:22:9)
      at ../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:27:7
      at ../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:19:12
      at apply (tests/renderComponent.js:95:22)
      at _callee$ (tests/orphanTexts.test.js:8:36)
      at tryCatch (../../node_modules/@babel/runtime/helpers/regeneratorRuntime.js:44:17)
      at Generator.<anonymous> (../../node_modules/@babel/runtime/helpers/regeneratorRuntime.js:125:22)
      at Generator.next (../../node_modules/@babel/runtime/helpers/regeneratorRuntime.js:69:21)
      at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
      at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:22:9)
      at ../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:27:7
      at ../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:19:12
      at apply (tests/orphanTexts.test.js:7:12)
      at mount (tests/orphanTexts.test.js:19:25)
      at tryCatch (../../node_modules/@babel/runtime/helpers/regeneratorRuntime.js:44:17)
      at Generator.<anonymous> (../../node_modules/@babel/runtime/helpers/regeneratorRuntime.js:125:22)
      at Generator.next (../../node_modules/@babel/runtime/helpers/regeneratorRuntime.js:69:21)
      at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
      at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:22:9)
      at ../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:27:7
      at Object.<anonymous> (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:19:12)

    console.warn
      Invalid 'text' string child outside <Text> component

      21 |   // Caused by cases such as <>{name && <Text>{name}</Text>}</>
      22 |   if (isOrphanTextInstance) {
    > 23 |     console.warn(
         |             ^
      24 |       `Invalid '${child.value}' string child outside <Text> component`,
      25 |     );
      26 |     return;

      at warn (src/renderer.js:23:13)
      at Fa (../../node_modules/react-reconciler/cjs/react-reconciler.production.min.js:99:77)
      at _Ge (../../node_modules/react-reconciler/cjs/react-reconciler.production.min.js:141:156)
      at gg (../../node_modules/react-reconciler/cjs/react-reconciler.production.min.js:139:86)
      at hg (../../node_modules/react-reconciler/cjs/react-reconciler.production.min.js:138:366)
      at bg (../../node_modules/react-reconciler/cjs/react-reconciler.production.min.js:132:214)
      at c (../../node_modules/react-reconciler/cjs/react-reconciler.production.min.js:30:115)
      at unstable_runWithPriority (../../node_modules/scheduler/cjs/scheduler.development.js:818:12)
      at Mb (../../node_modules/react-reconciler/cjs/react-reconciler.production.min.js:29:325)
      at hc (../../node_modules/react-reconciler/cjs/react-reconciler.production.min.js:30:61)
      at kc (../../node_modules/react-reconciler/cjs/react-reconciler.production.min.js:29:495)
      at F (../../node_modules/react-reconciler/cjs/react-reconciler.production.min.js:123:155)
      at Object.Wc [as updateContainer] (../../node_modules/react-reconciler/cjs/react-reconciler.production.min.js:181:185)
      at updateContainer (src/index.js:29:14)
      at updateContainer (src/index.js:32:21)
      at pdf (src/node/renderTo.js:7:20)
      at tryCatch (../../node_modules/@babel/runtime/helpers/regeneratorRuntime.js:44:17)
      at Generator.<anonymous> (../../node_modules/@babel/runtime/helpers/regeneratorRuntime.js:125:22)
      at Generator.next (../../node_modules/@babel/runtime/helpers/regeneratorRuntime.js:69:21)
      at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
      at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:22:9)
      at ../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:27:7
      at ../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:19:12
      at apply (src/node/renderTo.js:6:28)
      at renderToStream (src/node/renderTo.js:28:3)
      at _callee$ (tests/renderComponent.js:96:38)
      at tryCatch (../../node_modules/@babel/runtime/helpers/regeneratorRuntime.js:44:17)
      at Generator.<anonymous> (../../node_modules/@babel/runtime/helpers/regeneratorRuntime.js:125:22)
      at Generator.next (../../node_modules/@babel/runtime/helpers/regeneratorRuntime.js:69:21)
      at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
      at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:22:9)
      at ../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:27:7
      at ../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:19:12
      at apply (tests/renderComponent.js:95:22)
      at _callee$ (tests/orphanTexts.test.js:8:36)
      at tryCatch (../../node_modules/@babel/runtime/helpers/regeneratorRuntime.js:44:17)
      at Generator.<anonymous> (../../node_modules/@babel/runtime/helpers/regeneratorRuntime.js:125:22)
      at Generator.next (../../node_modules/@babel/runtime/helpers/regeneratorRuntime.js:69:21)
      at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
      at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:22:9)
      at ../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:27:7
      at ../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:19:12
      at apply (tests/orphanTexts.test.js:7:12)
      at mount (tests/orphanTexts.test.js:25:25)
      at tryCatch (../../node_modules/@babel/runtime/helpers/regeneratorRuntime.js:44:17)
      at Generator.<anonymous> (../../node_modules/@babel/runtime/helpers/regeneratorRuntime.js:125:22)
      at Generator.next (../../node_modules/@babel/runtime/helpers/regeneratorRuntime.js:69:21)
      at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
      at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:22:9)
      at ../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:27:7
      at Object.<anonymous> (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:19:12)

    console.warn
      Invalid '0' string child outside <Text> component

      21 |   // Caused by cases such as <>{name && <Text>{name}</Text>}</>
      22 |   if (isOrphanTextInstance) {
    > 23 |     console.warn(
         |             ^
      24 |       `Invalid '${child.value}' string child outside <Text> component`,
      25 |     );
      26 |     return;

      at warn (src/renderer.js:23:13)
      at Fa (../../node_modules/react-reconciler/cjs/react-reconciler.production.min.js:99:77)
      at _Ge (../../node_modules/react-reconciler/cjs/react-reconciler.production.min.js:141:156)
      at gg (../../node_modules/react-reconciler/cjs/react-reconciler.production.min.js:139:86)
      at hg (../../node_modules/react-reconciler/cjs/react-reconciler.production.min.js:138:366)
      at bg (../../node_modules/react-reconciler/cjs/react-reconciler.production.min.js:132:214)
      at c (../../node_modules/react-reconciler/cjs/react-reconciler.production.min.js:30:115)
      at unstable_runWithPriority (../../node_modules/scheduler/cjs/scheduler.development.js:818:12)
      at Mb (../../node_modules/react-reconciler/cjs/react-reconciler.production.min.js:29:325)
      at hc (../../node_modules/react-reconciler/cjs/react-reconciler.production.min.js:30:61)
      at kc (../../node_modules/react-reconciler/cjs/react-reconciler.production.min.js:29:495)
      at F (../../node_modules/react-reconciler/cjs/react-reconciler.production.min.js:123:155)
      at Object.Wc [as updateContainer] (../../node_modules/react-reconciler/cjs/react-reconciler.production.min.js:181:185)
      at updateContainer (src/index.js:29:14)
      at updateContainer (src/index.js:32:21)
      at pdf (src/node/renderTo.js:7:20)
      at tryCatch (../../node_modules/@babel/runtime/helpers/regeneratorRuntime.js:44:17)
      at Generator.<anonymous> (../../node_modules/@babel/runtime/helpers/regeneratorRuntime.js:125:22)
      at Generator.next (../../node_modules/@babel/runtime/helpers/regeneratorRuntime.js:69:21)
      at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
      at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:22:9)
      at ../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:27:7
      at ../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:19:12
      at apply (src/node/renderTo.js:6:28)
      at renderToStream (src/node/renderTo.js:28:3)
      at _callee$ (tests/renderComponent.js:96:38)
      at tryCatch (../../node_modules/@babel/runtime/helpers/regeneratorRuntime.js:44:17)
      at Generator.<anonymous> (../../node_modules/@babel/runtime/helpers/regeneratorRuntime.js:125:22)
      at Generator.next (../../node_modules/@babel/runtime/helpers/regeneratorRuntime.js:69:21)
      at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
      at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:22:9)
      at ../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:27:7
      at ../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:19:12
      at apply (tests/renderComponent.js:95:22)
      at _callee$ (tests/orphanTexts.test.js:8:36)
      at tryCatch (../../node_modules/@babel/runtime/helpers/regeneratorRuntime.js:44:17)
      at Generator.<anonymous> (../../node_modules/@babel/runtime/helpers/regeneratorRuntime.js:125:22)
      at Generator.next (../../node_modules/@babel/runtime/helpers/regeneratorRuntime.js:69:21)
      at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
      at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:22:9)
      at ../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:27:7
      at ../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:19:12
      at apply (tests/orphanTexts.test.js:7:12)
      at mount (tests/orphanTexts.test.js:37:25)
      at tryCatch (../../node_modules/@babel/runtime/helpers/regeneratorRuntime.js:44:17)
      at Generator.<anonymous> (../../node_modules/@babel/runtime/helpers/regeneratorRuntime.js:125:22)
      at Generator.next (../../node_modules/@babel/runtime/helpers/regeneratorRuntime.js:69:21)
      at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
      at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:22:9)
      at ../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:27:7
      at Object.<anonymous> (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:19:12)

    console.warn
      Invalid '10' string child outside <Text> component

      21 |   // Caused by cases such as <>{name && <Text>{name}</Text>}</>
      22 |   if (isOrphanTextInstance) {
    > 23 |     console.warn(
         |             ^
      24 |       `Invalid '${child.value}' string child outside <Text> component`,
      25 |     );
      26 |     return;

      at warn (src/renderer.js:23:13)
      at Fa (../../node_modules/react-reconciler/cjs/react-reconciler.production.min.js:99:77)
      at _Ge (../../node_modules/react-reconciler/cjs/react-reconciler.production.min.js:141:156)
      at gg (../../node_modules/react-reconciler/cjs/react-reconciler.production.min.js:139:86)
      at hg (../../node_modules/react-reconciler/cjs/react-reconciler.production.min.js:138:366)
      at bg (../../node_modules/react-reconciler/cjs/react-reconciler.production.min.js:132:214)
      at c (../../node_modules/react-reconciler/cjs/react-reconciler.production.min.js:30:115)
      at unstable_runWithPriority (../../node_modules/scheduler/cjs/scheduler.development.js:818:12)
      at Mb (../../node_modules/react-reconciler/cjs/react-reconciler.production.min.js:29:325)
      at hc (../../node_modules/react-reconciler/cjs/react-reconciler.production.min.js:30:61)
      at kc (../../node_modules/react-reconciler/cjs/react-reconciler.production.min.js:29:495)
      at F (../../node_modules/react-reconciler/cjs/react-reconciler.production.min.js:123:155)
      at Object.Wc [as updateContainer] (../../node_modules/react-reconciler/cjs/react-reconciler.production.min.js:181:185)
      at updateContainer (src/index.js:29:14)
      at updateContainer (src/index.js:32:21)
      at pdf (src/node/renderTo.js:7:20)
      at tryCatch (../../node_modules/@babel/runtime/helpers/regeneratorRuntime.js:44:17)
      at Generator.<anonymous> (../../node_modules/@babel/runtime/helpers/regeneratorRuntime.js:125:22)
      at Generator.next (../../node_modules/@babel/runtime/helpers/regeneratorRuntime.js:69:21)
      at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
      at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:22:9)
      at ../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:27:7
      at ../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:19:12
      at apply (src/node/renderTo.js:6:28)
      at renderToStream (src/node/renderTo.js:28:3)
      at _callee$ (tests/renderComponent.js:96:38)
      at tryCatch (../../node_modules/@babel/runtime/helpers/regeneratorRuntime.js:44:17)
      at Generator.<anonymous> (../../node_modules/@babel/runtime/helpers/regeneratorRuntime.js:125:22)
      at Generator.next (../../node_modules/@babel/runtime/helpers/regeneratorRuntime.js:69:21)
      at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
      at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:22:9)
      at ../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:27:7
      at ../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:19:12
      at apply (tests/renderComponent.js:95:22)
      at _callee$ (tests/orphanTexts.test.js:8:36)
      at tryCatch (../../node_modules/@babel/runtime/helpers/regeneratorRuntime.js:44:17)
      at Generator.<anonymous> (../../node_modules/@babel/runtime/helpers/regeneratorRuntime.js:125:22)
      at Generator.next (../../node_modules/@babel/runtime/helpers/regeneratorRuntime.js:69:21)
      at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
      at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:22:9)
      at ../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:27:7
      at ../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:19:12
      at apply (tests/orphanTexts.test.js:7:12)
      at mount (tests/orphanTexts.test.js:43:25)
      at tryCatch (../../node_modules/@babel/runtime/helpers/regeneratorRuntime.js:44:17)
      at Generator.<anonymous> (../../node_modules/@babel/runtime/helpers/regeneratorRuntime.js:125:22)
      at Generator.next (../../node_modules/@babel/runtime/helpers/regeneratorRuntime.js:69:21)
      at asyncGeneratorStep (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
      at _next (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:22:9)
      at ../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:27:7
      at Object.<anonymous> (../../node_modules/@babel/runtime/helpers/asyncToGenerator.js:19:12)

PASS packages/renderer/tests/pageWrap.test.js (13.028 s)
PASS packages/renderer/tests/transform.test.js (8.465 s)
PASS packages/renderer/tests/resume.test.js (12.457 s)
PASS packages/renderer/tests/svg.test.js (7.987 s)

Summary of all failing tests
FAIL packages/layout/tests/node/shouldBreak.test.js
  ● node shouldBreak › should break when minPresenceAhead is large enough and there are overflowing siblings after the child

    TypeError: Cannot read properties of undefined (reading 'presenceAhead')

      21 |     const isElementInside = height > element.box.top;
      22 |     const presenceAhead =
    > 23 |       element.props.presenceAhead || defaultPresenceAhead(element);
         |                     ^
      24 |
      25 |     if (element && isElementInside) {
      26 |       result += presenceAhead(height - element.box.top);

      at presenceAhead (src/node/shouldBreak.js:23:21)
      at getPresenceAhead (src/node/shouldBreak.js:35:25)
      at Object.<anonymous> (tests/node/shouldBreak.test.js:71:31)

  ● node shouldBreak › should break when minPresenceAhead is large enough and there are overflowing siblings due to margins after the child

    TypeError: Cannot read properties of undefined (reading 'presenceAhead')

      21 |     const isElementInside = height > element.box.top;
      22 |     const presenceAhead =
    > 23 |       element.props.presenceAhead || defaultPresenceAhead(element);
         |                     ^
      24 |
      25 |     if (element && isElementInside) {
      26 |       result += presenceAhead(height - element.box.top);

      at presenceAhead (src/node/shouldBreak.js:23:21)
      at getPresenceAhead (src/node/shouldBreak.js:35:25)
      at Object.<anonymous> (tests/node/shouldBreak.test.js:84:31)

  ● node shouldBreak › should not break when minPresenceAhead is not past the page end

    TypeError: Cannot read properties of undefined (reading 'presenceAhead')

      21 |     const isElementInside = height > element.box.top;
      22 |     const presenceAhead =
    > 23 |       element.props.presenceAhead || defaultPresenceAhead(element);
         |                     ^
      24 |
      25 |     if (element && isElementInside) {
      26 |       result += presenceAhead(height - element.box.top);

      at presenceAhead (src/node/shouldBreak.js:23:21)
      at getPresenceAhead (src/node/shouldBreak.js:35:25)
      at Object.<anonymous> (tests/node/shouldBreak.test.js:97:31)

  ● node shouldBreak › should not break when the siblings after the child do not overflow past the page end

    TypeError: Cannot read properties of undefined (reading 'presenceAhead')

      21 |     const isElementInside = height > element.box.top;
      22 |     const presenceAhead =
    > 23 |       element.props.presenceAhead || defaultPresenceAhead(element);
         |                     ^
      24 |
      25 |     if (element && isElementInside) {
      26 |       result += presenceAhead(height - element.box.top);

      at presenceAhead (src/node/shouldBreak.js:23:21)
      at getPresenceAhead (src/node/shouldBreak.js:35:25)
      at Object.<anonymous> (tests/node/shouldBreak.test.js:110:31)

  ● node shouldBreak › should not break when the siblings after the child do not overflow past the page end, with margins

    TypeError: Cannot read properties of undefined (reading 'presenceAhead')

      21 |     const isElementInside = height > element.box.top;
      22 |     const presenceAhead =
    > 23 |       element.props.presenceAhead || defaultPresenceAhead(element);
         |                     ^
      24 |
      25 |     if (element && isElementInside) {
      26 |       result += presenceAhead(height - element.box.top);

      at presenceAhead (src/node/shouldBreak.js:23:21)
      at getPresenceAhead (src/node/shouldBreak.js:35:25)
      at Object.<anonymous> (tests/node/shouldBreak.test.js:123:31)

  ● node shouldBreak › should not break when only the last sibling's bottom margin overflows past the page end

    TypeError: Cannot read properties of undefined (reading 'presenceAhead')

      21 |     const isElementInside = height > element.box.top;
      22 |     const presenceAhead =
    > 23 |       element.props.presenceAhead || defaultPresenceAhead(element);
         |                     ^
      24 |
      25 |     if (element && isElementInside) {
      26 |       result += presenceAhead(height - element.box.top);

      at presenceAhead (src/node/shouldBreak.js:23:21)
      at getPresenceAhead (src/node/shouldBreak.js:35:25)
      at Object.<anonymous> (tests/node/shouldBreak.test.js:136:31)

  ● node shouldBreak › should not break due to minPresenceAhead when breaking does not improve presence, to avoid infinite loops

    TypeError: Cannot read properties of undefined (reading 'presenceAhead')

      21 |     const isElementInside = height > element.box.top;
      22 |     const presenceAhead =
    > 23 |       element.props.presenceAhead || defaultPresenceAhead(element);
         |                     ^
      24 |
      25 |     if (element && isElementInside) {
      26 |       result += presenceAhead(height - element.box.top);

      at presenceAhead (src/node/shouldBreak.js:23:21)
      at getPresenceAhead (src/node/shouldBreak.js:35:25)
      at Object.<anonymous> (tests/node/shouldBreak.test.js:149:31)

  ● node shouldBreak › should never break fixed child

    TypeError: Cannot read properties of undefined (reading 'presenceAhead')

      21 |     const isElementInside = height > element.box.top;
      22 |     const presenceAhead =
    > 23 |       element.props.presenceAhead || defaultPresenceAhead(element);
         |                     ^
      24 |
      25 |     if (element && isElementInside) {
      26 |       result += presenceAhead(height - element.box.top);

      at presenceAhead (src/node/shouldBreak.js:23:21)
      at getPresenceAhead (src/node/shouldBreak.js:35:25)
      at Object.<anonymous> (tests/node/shouldBreak.test.js:162:31)

  ● node shouldBreak › should work with trivial minimal reproduction example

    TypeError: Cannot read properties of undefined (reading 'presenceAhead')

      21 |     const isElementInside = height > element.box.top;
      22 |     const presenceAhead =
    > 23 |       element.props.presenceAhead || defaultPresenceAhead(element);
         |                     ^
      24 |
      25 |     if (element && isElementInside) {
      26 |       result += presenceAhead(height - element.box.top);

      at presenceAhead (src/node/shouldBreak.js:23:21)
      at getPresenceAhead (src/node/shouldBreak.js:35:25)
      at Object.<anonymous> (tests/node/shouldBreak.test.js:193:31)

  ● node shouldBreak › should work with minimal infinite loop reproduction example

    TypeError: Cannot read properties of undefined (reading 'presenceAhead')

      21 |     const isElementInside = height > element.box.top;
      22 |     const presenceAhead =
    > 23 |       element.props.presenceAhead || defaultPresenceAhead(element);
         |                     ^
      24 |
      25 |     if (element && isElementInside) {
      26 |       result += presenceAhead(height - element.box.top);

      at presenceAhead (src/node/shouldBreak.js:23:21)
      at getPresenceAhead (src/node/shouldBreak.js:35:25)
      at Object.<anonymous> (tests/node/shouldBreak.test.js:231:31)

  ● node shouldBreak › should work with reproduction from #2303

    expect(received).toEqual(expected) // deep equality

    Expected: false
    Received: true

      401 |     );
      402 |
    > 403 |     expect(result).toEqual(false);
          |                    ^
      404 |   });
      405 |
      406 |   test('should not break when the child can wrap', () => {

      at Object.toEqual (tests/node/shouldBreak.test.js:403:20)

  ● node shouldBreak › should not break when the child can wrap

    TypeError: Cannot read properties of undefined (reading 'presenceAhead')

      21 |     const isElementInside = height > element.box.top;
      22 |     const presenceAhead =
    > 23 |       element.props.presenceAhead || defaultPresenceAhead(element);
         |                     ^
      24 |
      25 |     if (element && isElementInside) {
      26 |       result += presenceAhead(height - element.box.top);

      at presenceAhead (src/node/shouldBreak.js:23:21)
      at getPresenceAhead (src/node/shouldBreak.js:35:25)
      at Object.<anonymous> (tests/node/shouldBreak.test.js:407:31)


Test Suites: 1 failed, 207 passed, 208 total
Tests:       12 failed, 1759 passed, 1771 total
Snapshots:   72 passed, 72 total
Time:        20.486 s
Ran all test suites in 9 projects.
+ : '>>>>> End Test Output'
+ echo 'No test files to reset'
