+ cd /testbed
+ git config --global --add safe.directory /testbed
+ cd /testbed
+ git checkout 23b89c2869f75f4f843522de5e348c2f92e87a67 tests/flattenStyles.test.js
Updated 0 paths from 6e09f83
+ git apply --verbose --reject -
Checking patch tests/flattenStyles.test.js...
Applied patch tests/flattenStyles.test.js cleanly.
+ : '>>>>> Start Test Output'
+ ./node_modules/.bin/jest --no-color
PASS tests/node.test.js
PASS tests/base.test.js
PASS tests/font.test.js
PASS tests/objectFit.test.js
FAIL tests/image.test.js
  ● Console

    console.warn src/elements/Image.js:106
      Not valid image extension
    console.warn src/elements/Image.js:106
      Not valid image extension
    console.warn src/elements/Image.js:106
      Not valid image extension
    console.warn src/elements/Image.js:106
      Not valid image extension
    console.warn src/elements/Image.js:106
      Not valid image extension
    console.warn src/elements/Image.js:106
      Not valid image extension

  ● Image › Should render a jpeg image over http

    expect(received).toBeTruthy()

    Received: undefined

      61 |     await image.render();
      62 |
    > 63 |     expect(image.image.data).toBeTruthy();
         |                              ^
      64 |     expect(dummyRoot.instance.image.mock.calls).toHaveLength(1);
      65 |     expect(dummyRoot.instance.image.mock.calls[0][0]).toBe(image.image.data);
      66 |   });

      at Object.test (tests/image.test.js:63:30)

  ● Image › Should render a png image over http

    expect(received).toBeTruthy()

    Received: undefined

      72 |     await image.render();
      73 |
    > 74 |     expect(image.image.data).toBeTruthy();
         |                              ^
      75 |     expect(dummyRoot.instance.image.mock.calls).toHaveLength(1);
      76 |     expect(dummyRoot.instance.image.mock.calls[0][0]).toBe(image.image.data);
      77 |   });

      at Object.test (tests/image.test.js:74:30)

  ● Image › Should cache previously loaded remote images by default

    expect(received).toBe(expected) // Object.is equality

    Expected: {"height": 0, "width": 0}
    Received: {"height": 0, "width": 0}

    Difference:

    Compared values have no visual difference. Note that you are testing for equality with the stricter `toBe` matcher using `Object.is`. For deep equality only, use `toEqual` instead.

      220 |     await image2.fetch();
      221 |
    > 222 |     expect(image1.image).toBe(image2.image);
          |                          ^
      223 |   });
      224 |
      225 |   test('Should not cache previously loaded remote images if flag false', async () => {

      at Object.test (tests/image.test.js:222:26)

PASS tests/background.test.js
PASS tests/note.test.js
PASS tests/document.test.js
PASS tests/flexboxAttributes.test.js
PASS tests/styleShorthands.test.js
PASS tests/transform.test.js
PASS tests/unitsConversion.test.js
PASS tests/styledComponents.test.js
PASS tests/page.test.js
PASS tests/layout.test.js
  ● Console

    console.warn src/elements/Image.js:106
      Not valid image extension
    console.warn src/elements/Image.js:106
      Not valid image extension

PASS tests/attributedString.test.js
PASS tests/elements.test.js
PASS tests/pageSize.test.js
PASS tests/domApi.test.js
PASS tests/matchPercent.test.js
PASS tests/cache.test.js
PASS tests/url.test.js
PASS tests/view.test.js
PASS tests/propsEqual.test.js
PASS tests/pdf.test.js
PASS tests/mediaQueries.test.js
PASS tests/borders.test.js
PASS tests/jpeg.test.js
PASS tests/png.test.js
PASS tests/flattenStyles.test.js
PASS tests/text.test.js
PASS tests/link.test.js
PASS tests/stylesExpansion.test.js
PASS tests/nodeApi.test.js

Summary of all failing tests
FAIL tests/image.test.js
  ● Image › Should render a jpeg image over http

    expect(received).toBeTruthy()

    Received: undefined

      61 |     await image.render();
      62 |
    > 63 |     expect(image.image.data).toBeTruthy();
         |                              ^
      64 |     expect(dummyRoot.instance.image.mock.calls).toHaveLength(1);
      65 |     expect(dummyRoot.instance.image.mock.calls[0][0]).toBe(image.image.data);
      66 |   });

      at Object.test (tests/image.test.js:63:30)

  ● Image › Should render a png image over http

    expect(received).toBeTruthy()

    Received: undefined

      72 |     await image.render();
      73 |
    > 74 |     expect(image.image.data).toBeTruthy();
         |                              ^
      75 |     expect(dummyRoot.instance.image.mock.calls).toHaveLength(1);
      76 |     expect(dummyRoot.instance.image.mock.calls[0][0]).toBe(image.image.data);
      77 |   });

      at Object.test (tests/image.test.js:74:30)

  ● Image › Should cache previously loaded remote images by default

    expect(received).toBe(expected) // Object.is equality

    Expected: {"height": 0, "width": 0}
    Received: {"height": 0, "width": 0}

    Difference:

    Compared values have no visual difference. Note that you are testing for equality with the stricter `toBe` matcher using `Object.is`. For deep equality only, use `toEqual` instead.

      220 |     await image2.fetch();
      221 |
    > 222 |     expect(image1.image).toBe(image2.image);
          |                          ^
      223 |   });
      224 |
      225 |   test('Should not cache previously loaded remote images if flag false', async () => {

      at Object.test (tests/image.test.js:222:26)


Test Suites: 1 failed, 33 passed, 34 total
Tests:       3 failed, 349 passed, 352 total
Snapshots:   0 total
Time:        13.086s
Ran all test suites.
+ : '>>>>> End Test Output'
+ git checkout 23b89c2869f75f4f843522de5e348c2f92e87a67 tests/flattenStyles.test.js
Updated 1 path from 6e09f83
