+ cd /testbed
+ git config --global --add safe.directory /testbed
+ cd /testbed
+ git checkout 39f9b8a255334d335b0c7678b2129aeff6372d87 packages/textkit/tests/indices/resolve.test.js
Updated 0 paths from ab7d7ac
+ git apply --verbose --reject -
Checking patch packages/textkit/tests/indices/resolve.test.js...
Applied patch packages/textkit/tests/indices/resolve.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 browserslist@latest --update-db

Why you should do it regularly:
https://github.com/browserslist/browserslist#browsers-data-updating
Browserslist: caniuse-lite is outdated. Please run:
npx browserslist@latest --update-db

Why you should do it regularly:
https://github.com/browserslist/browserslist#browsers-data-updating
Browserslist: caniuse-lite is outdated. Please run:
npx browserslist@latest --update-db

Why you should do it regularly:
https://github.com/browserslist/browserslist#browsers-data-updating
Browserslist: caniuse-lite is outdated. Please run:
npx browserslist@latest --update-db

Why you should do it regularly:
https://github.com/browserslist/browserslist#browsers-data-updating
Browserslist: caniuse-lite is outdated. Please run:
npx browserslist@latest --update-db

Why you should do it regularly:
https://github.com/browserslist/browserslist#browsers-data-updating
Browserslist: caniuse-lite is outdated. Please run:
npx browserslist@latest --update-db

Why you should do it regularly:
https://github.com/browserslist/browserslist#browsers-data-updating
Browserslist: caniuse-lite is outdated. Please run:
npx browserslist@latest --update-db

Why you should do it regularly:
https://github.com/browserslist/browserslist#browsers-data-updating
Browserslist: caniuse-lite is outdated. Please run:
npx browserslist@latest --update-db

Why you should do it regularly:
https://github.com/browserslist/browserslist#browsers-data-updating
Browserslist: caniuse-lite is outdated. Please run:
npx browserslist@latest --update-db

Why you should do it regularly:
https://github.com/browserslist/browserslist#browsers-data-updating
Browserslist: caniuse-lite is outdated. Please run:
npx browserslist@latest --update-db

Why you should do it regularly:
https://github.com/browserslist/browserslist#browsers-data-updating
Browserslist: caniuse-lite is outdated. Please run:
npx browserslist@latest --update-db

Why you should do it regularly:
https://github.com/browserslist/browserslist#browsers-data-updating
Browserslist: caniuse-lite is outdated. Please run:
npx browserslist@latest --update-db

Why you should do it regularly:
https://github.com/browserslist/browserslist#browsers-data-updating
Browserslist: caniuse-lite is outdated. Please run:
npx browserslist@latest --update-db

Why you should do it regularly:
https://github.com/browserslist/browserslist#browsers-data-updating
Browserslist: caniuse-lite is outdated. Please run:
npx browserslist@latest --update-db

Why you should do it regularly:
https://github.com/browserslist/browserslist#browsers-data-updating
Browserslist: caniuse-lite is outdated. Please run:
npx browserslist@latest --update-db

Why you should do it regularly:
https://github.com/browserslist/browserslist#browsers-data-updating
Browserslist: caniuse-lite is outdated. Please run:
npx browserslist@latest --update-db

Why you should do it regularly:
https://github.com/browserslist/browserslist#browsers-data-updating
Browserslist: caniuse-lite is outdated. Please run:
npx browserslist@latest --update-db

Why you should do it regularly:
https://github.com/browserslist/browserslist#browsers-data-updating
Browserslist: caniuse-lite is outdated. Please run:
npx browserslist@latest --update-db

Why you should do it regularly:
https://github.com/browserslist/browserslist#browsers-data-updating
Browserslist: caniuse-lite is outdated. Please run:
npx browserslist@latest --update-db

Why you should do it regularly:
https://github.com/browserslist/browserslist#browsers-data-updating
PASS packages/render/tests/utils/objectFit.test.js (5.259s)
PASS packages/stylesheet/tests/expand.test.js (6.191s)
PASS packages/stylesheet/tests/resolve.test.js (6.727s)
PASS packages/textkit/tests/run/slice.test.js (6.803s)
PASS packages/textkit/tests/run/insert.test.js (6.98s)
PASS packages/textkit/tests/attributedString/insertGlyph.test.js (7.053s)
PASS packages/stylesheet/tests/units.test.js
PASS packages/textkit/tests/layout/generateGlyphs.test.js
PASS packages/textkit/tests/run/remove.test.js
PASS packages/textkit/tests/run/prepend.test.js
PASS packages/textkit/tests/attributedString/sliceAtOffset.test.js
PASS packages/textkit/tests/layout/resolveAttachments.test.js
PASS packages/textkit/tests/run/append.test.js
PASS packages/textkit/tests/attributedString/prepend.test.js
PASS packages/textkit/tests/attributedString/append.test.js
PASS packages/textkit/tests/attributedString/slice.test.js
(node:1506) V8: /testbed/packages/yoga/src/build/Release/nbind.js:5508 Invalid asm.js: Unexpected token
(Use `node --trace-warnings ...` to show where the warning was created)
PASS packages/yoga/tests/padding.test.js (13.112s)
(node:1513) V8: /testbed/packages/yoga/src/build/Release/nbind.js:5508 Invalid asm.js: Unexpected token
(Use `node --trace-warnings ...` to show where the warning was created)
PASS packages/yoga/tests/flexDirection.test.js (13.201s)
(node:1457) V8: /testbed/packages/yoga/src/build/Release/nbind.js:5508 Invalid asm.js: Unexpected token
(Use `node --trace-warnings ...` to show where the warning was created)
PASS packages/yoga/tests/aspectRatio.test.js (13.231s)
(node:1450) V8: /testbed/packages/yoga/src/build/Release/nbind.js:5508 Invalid asm.js: Unexpected token
(Use `node --trace-warnings ...` to show where the warning was created)
PASS packages/yoga/tests/justifyContent.test.js (13.314s)
(node:1492) V8: /testbed/packages/yoga/src/build/Release/nbind.js:5508 Invalid asm.js: Unexpected token
(Use `node --trace-warnings ...` to show where the warning was created)
PASS packages/yoga/tests/flexSpec.test.js (13.402s)
(node:1499) V8: /testbed/packages/yoga/src/build/Release/nbind.js:5508 Invalid asm.js: Unexpected token
(Use `node --trace-warnings ...` to show where the warning was created)
PASS packages/yoga/tests/position.test.js
(node:1422) V8: /testbed/packages/yoga/src/build/Release/nbind.js:5508 Invalid asm.js: Unexpected token
(Use `node --trace-warnings ...` to show where the warning was created)
PASS packages/yoga/tests/minMaxDimension.test.js (13.438s)
(node:1436) V8: /testbed/packages/yoga/src/build/Release/nbind.js:5508 Invalid asm.js: Unexpected token
(Use `node --trace-warnings ...` to show where the warning was created)
PASS packages/yoga/tests/rounding.test.js (13.438s)
(node:1443) V8: /testbed/packages/yoga/src/build/Release/nbind.js:5508 Invalid asm.js: Unexpected token
(Use `node --trace-warnings ...` to show where the warning was created)
PASS packages/yoga/tests/absolutePosition.test.js (13.504s)
(node:1429) V8: /testbed/packages/yoga/src/build/Release/nbind.js:5508 Invalid asm.js: Unexpected token
(Use `node --trace-warnings ...` to show where the warning was created)
PASS packages/yoga/tests/percentage.test.js (13.639s)
(node:1401) V8: /testbed/packages/yoga/src/build/Release/nbind.js:5508 Invalid asm.js: Unexpected token
(Use `node --trace-warnings ...` to show where the warning was created)
PASS packages/yoga/tests/alignContent.test.js (13.733s)
(node:1408) V8: /testbed/packages/yoga/src/build/Release/nbind.js:5508 Invalid asm.js: Unexpected token
(Use `node --trace-warnings ...` to show where the warning was created)
PASS packages/yoga/tests/margin.test.js (14.006s)
PASS packages/yoga/tests/sizeOverflow.test.js
(node:1415) V8: /testbed/packages/yoga/src/build/Release/nbind.js:5508 Invalid asm.js: Unexpected token
(Use `node --trace-warnings ...` to show where the warning was created)
PASS packages/yoga/tests/flexWrap.test.js (14.278s)
PASS packages/yoga/tests/edge.test.js
(node:1400) V8: /testbed/packages/yoga/src/build/Release/nbind.js:5508 Invalid asm.js: Unexpected token
(Use `node --trace-warnings ...` to show where the warning was created)
PASS packages/yoga/tests/alignItems.test.js (14.505s)
PASS packages/yoga/tests/flexbox.test.js
PASS packages/yoga/tests/defaultValues.test.js
PASS packages/layout/tests/steps/resolvePageSizes.test.js
PASS packages/textkit/tests/layout/resolveYOffset.test.js
(node:1471) V8: /testbed/packages/yoga/src/build/Release/nbind.js:5508 Invalid asm.js: Unexpected token
(Use `node --trace-warnings ...` to show where the warning was created)
PASS packages/yoga/tests/display.test.js (8.968s)
PASS packages/textkit/tests/layout/wrapWords.test.js
(node:1464) V8: /testbed/packages/yoga/src/build/Release/nbind.js:5508 Invalid asm.js: Unexpected token
(Use `node --trace-warnings ...` to show where the warning was created)
PASS packages/yoga/tests/border.test.js (8.899s)
PASS packages/textkit/tests/attributedString/dropLast.test.js
PASS packages/textkit/tests/glyph/slice.test.js
PASS packages/textkit/tests/layout/applyDefaultStyles.test.js
PASS packages/image/tests/resolve.test.js
FAIL packages/renderer/tests/bufferDeprecation.test.js
  ● Buffer deprecation regression › renderToStream does not use deprecated Buffer constructor when embedding fonts

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

    Expected: 0
    Received: null

      83 |   });
      84 |
    > 85 |   expect(result.status).toBe(0);
         |                         ^
      86 |   expect(result.stderr).toBe('');
      87 |
      88 |   return JSON.parse(result.stdout);

      at runRender (tests/bufferDeprecation.test.js:85:25)
      at Object.<anonymous> (tests/bufferDeprecation.test.js:93:20)

  ● Buffer deprecation regression › renderToString does not use deprecated Buffer constructor when embedding fonts

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

    Expected: 0
    Received: null

      83 |   });
      84 |
    > 85 |   expect(result.status).toBe(0);
         |                         ^
      86 |   expect(result.stderr).toBe('');
      87 |
      88 |   return JSON.parse(result.stdout);

      at runRender (tests/bufferDeprecation.test.js:85:25)
      at Object.<anonymous> (tests/bufferDeprecation.test.js:100:20)

  ● Buffer deprecation regression › renderToFile does not use deprecated Buffer constructor when embedding fonts

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

    Expected: 0
    Received: null

      83 |   });
      84 |
    > 85 |   expect(result.status).toBe(0);
         |                         ^
      86 |   expect(result.stderr).toBe('');
      87 |
      88 |   return JSON.parse(result.stdout);

      at runRender (tests/bufferDeprecation.test.js:85:25)
      at Object.<anonymous> (tests/bufferDeprecation.test.js:107:20)

PASS packages/textkit/tests/run/flatten.test.js
PASS packages/textkit/tests/attributedString/indexAtOffset.test.js
PASS packages/textkit/tests/attributedString/leadingOffset.test.js
PASS packages/textkit/tests/attributedString/trailingOffset.test.js
PASS packages/textkit/tests/layout/splitParagraphs.test.js
PASS packages/layout/tests/steps/resolveInhritance.test.js
PASS packages/layout/tests/steps/resolveStyles.test.js
PASS packages/textkit/tests/run/glyphAt.test.js
PASS packages/layout/tests/steps/resolvePagePaddings.test.js
PASS packages/textkit/tests/run/advanceWidthBetween.test.js
FAIL packages/textkit/tests/indices/resolve.test.js
  ● indices resolve operator › should return same indices from simple chars

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

    - Expected
    + Received

      Array [
    -   0,
    -   1,
    -   2,
    -   3,
    -   4,
    +   undefined,
    +   undefined,
    +   undefined,
    +   undefined,
    +   undefined,
      ]

      25 |     ]);
      26 |
    > 27 |     expect(result).toEqual([0, 1, 2, 3, 4]);
         |                    ^
      28 |   });
      29 |
      30 |   test('should return correct glyph indices when starting with ligature', () => {

      at Object.<anonymous> (tests/indices/resolve.test.js:27:20)

  ● indices resolve operator › should return correct glyph indices when starting with ligature

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

    - Expected
    + Received

      Array [
    -   0,
    -   0,
    -   1,
    -   2,
    -   3,
    +   undefined,
    +   undefined,
    +   undefined,
    +   undefined,
      ]

      37 |     ]);
      38 |
    > 39 |     expect(result).toEqual([0, 0, 1, 2, 3]);
         |                    ^
      40 |   });
      41 |
      42 |   test('should return correct glyph indices when contain ligature', () => {

      at Object.<anonymous> (tests/indices/resolve.test.js:39:20)

  ● indices resolve operator › should return correct glyph indices when contain ligature

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

    - Expected
    + Received

      Array [
    -   0,
    -   1,
    -   2,
    -   2,
    -   3,
    +   undefined,
    +   undefined,
    +   undefined,
    +   undefined,
      ]

      49 |     ]);
      50 |
    > 51 |     expect(result).toEqual([0, 1, 2, 2, 3]);
         |                    ^
      52 |   });
      53 |
      54 |   test('should return correct glyph indices when ending in ligature', () => {

      at Object.<anonymous> (tests/indices/resolve.test.js:51:20)

  ● indices resolve operator › should return correct glyph indices when ending in ligature

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

    - Expected
    + Received

      Array [
    -   0,
    -   1,
    -   2,
    -   3,
    -   3,
    +   undefined,
    +   undefined,
    +   undefined,
    +   undefined,
      ]

      61 |     ]);
      62 |
    > 63 |     expect(result).toEqual([0, 1, 2, 3, 3]);
         |                    ^
      64 |   });
      65 |
      66 |   test('should return correct glyph indices when starting with long ligature', () => {

      at Object.<anonymous> (tests/indices/resolve.test.js:63:20)

  ● indices resolve operator › should return correct glyph indices when starting with long ligature

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

    - Expected
    + Received

      Array [
    -   0,
    -   0,
    -   0,
    -   1,
    -   2,
    -   3,
    +   undefined,
    +   undefined,
    +   undefined,
    +   undefined,
      ]

      73 |     ]);
      74 |
    > 75 |     expect(result).toEqual([0, 0, 0, 1, 2, 3]);
         |                    ^
      76 |   });
      77 |
      78 |   test('should return correct glyph indices when contain long ligature', () => {

      at Object.<anonymous> (tests/indices/resolve.test.js:75:20)

  ● indices resolve operator › should return correct glyph indices when contain long ligature

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

    - Expected
    + Received

      Array [
    -   0,
    -   1,
    -   2,
    -   2,
    -   2,
    -   3,
    +   undefined,
    +   undefined,
    +   undefined,
    +   undefined,
      ]

      85 |     ]);
      86 |
    > 87 |     expect(result).toEqual([0, 1, 2, 2, 2, 3]);
         |                    ^
      88 |   });
      89 |
      90 |   test('should return correct glyph indices when ending in long ligature', () => {

      at Object.<anonymous> (tests/indices/resolve.test.js:87:20)

  ● indices resolve operator › should return correct glyph indices when ending in long ligature

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

    - Expected
    + Received

      Array [
    -   0,
    -   1,
    -   2,
    -   3,
    -   3,
    -   3,
    +   undefined,
    +   undefined,
    +   undefined,
    +   undefined,
      ]

       97 |     ]);
       98 |
    >  99 |     expect(result).toEqual([0, 1, 2, 3, 3, 3]);
          |                    ^
      100 |   });
      101 |
      102 |   test('should fill undefined index at start', () => {

      at Object.<anonymous> (tests/indices/resolve.test.js:99:20)

  ● indices resolve operator › should fill undefined index at start

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

    - Expected
    + Received

      Array [
    -   0,
    -   1,
    -   2,
    -   3,
    -   4,
    +   undefined,
    +   undefined,
    +   undefined,
    +   undefined,
    +   undefined,
      ]

      110 |     ]);
      111 |
    > 112 |     expect(result).toEqual([0, 1, 2, 3, 4]);
          |                    ^
      113 |   });
      114 |
      115 |   test('should fill undefined index at middle', () => {

      at Object.<anonymous> (tests/indices/resolve.test.js:112:20)

  ● indices resolve operator › should fill undefined index at middle

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

    - Expected
    + Received

      Array [
    -   0,
    -   1,
    -   2,
    -   3,
    -   4,
    +   undefined,
    +   undefined,
    +   undefined,
    +   undefined,
    +   undefined,
      ]

      123 |     ]);
      124 |
    > 125 |     expect(result).toEqual([0, 1, 2, 3, 4]);
          |                    ^
      126 |   });
      127 |
      128 |   test('should fill undefined index at end', () => {

      at Object.<anonymous> (tests/indices/resolve.test.js:125:20)

  ● indices resolve operator › should fill undefined index at end

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

    - Expected
    + Received

      Array [
    -   0,
    -   1,
    -   2,
    -   3,
    -   4,
    +   undefined,
    +   undefined,
    +   undefined,
    +   undefined,
    +   undefined,
      ]

      136 |     ]);
      137 |
    > 138 |     expect(result).toEqual([0, 1, 2, 3, 4]);
          |                    ^
      139 |   });
      140 | });
      141 |

      at Object.<anonymous> (tests/indices/resolve.test.js:138:20)

PASS packages/textkit/tests/engines/wordHyphenation.test.js
(node:1485) V8: /testbed/packages/yoga/src/build/Release/nbind.js:5508 Invalid asm.js: Unexpected token
(Use `node --trace-warnings ...` to show where the warning was created)
PASS packages/yoga/tests/alignSelf.test.js (7.992s)
PASS packages/unicode-properties/test.js
PASS packages/textkit/tests/run/includes.test.js
PASS packages/layout/tests/page/getSize.test.js
PASS packages/stylesheet/tests/flatten.test.js
PASS packages/stylesheet/tests/mediaQueries.test.js
PASS packages/textkit/tests/layout/preprocessRuns.test.js
PASS packages/render/tests/operations/addMetadata.test.js
PASS packages/textkit/tests/run/indexAtOffset.test.js
(node:1520) V8: /testbed/packages/yoga/src/build/Release/nbind.js:5508 Invalid asm.js: Unexpected token
(Use `node --trace-warnings ...` to show where the warning was created)
PASS packages/yoga/tests/dimention.test.js (8.036s)
PASS packages/textkit/tests/attributedString/advanceWidthBetween.test.js
PASS packages/textkit/tests/run/offset.test.js
PASS packages/textkit/tests/attributedString/trim.test.js
PASS packages/render/tests/primitives/renderBackground.test.js
PASS packages/textkit/tests/run/leadingOffset.test.js
PASS packages/textkit/tests/run/concat.test.js
PASS packages/primitives/tests/index.test.js
PASS packages/textkit/tests/run/trailingOffset.test.js
PASS packages/layout/tests/node/setAlignSelf.test.js
(node:1478) V8: /testbed/packages/yoga/src/build/Release/nbind.js:5508 Invalid asm.js: Unexpected token
(Use `node --trace-warnings ...` to show where the warning was created)
PASS packages/layout/tests/node/setMargin.test.js (8.798s)
PASS packages/layout/tests/steps/resolveLinkSubstitution.test.js
PASS packages/textkit/tests/engines/scriptItemizer.test.js
PASS packages/textkit/tests/run/dropLast.test.js
PASS packages/yoga/tests/index.test.js
PASS packages/textkit/tests/run/sort.test.js
PASS packages/textkit/tests/engines/fontSubstitution.test.js
PASS packages/textkit/tests/run/ascent.test.js
PASS packages/yoga/tests/misc.test.js
PASS packages/layout/tests/node/setFlexDirection.test.js
PASS packages/render/tests/svg/getBoundingBox.test.js
PASS packages/render/tests/primitives/renderCanvas.test.js
PASS packages/layout/tests/node/setJustifyContent.test.js
PASS packages/layout/tests/node/removePaddings.test.js
PASS packages/textkit/tests/run/height.test.js
PASS packages/textkit/tests/attributedString/fromFragments.test.js
PASS packages/layout/tests/node/setPosition.test.js (8.049s)
PASS packages/layout/tests/node/setDimension.test.js (8.23s)
PASS packages/yoga/tests/infiniteHeight.test.js
PASS packages/layout/tests/node/setPadding.test.js (8.101s)
PASS packages/layout/tests/text/lineIndexAtHeight.test.js
PASS packages/textkit/tests/run/filter.test.js
PASS packages/layout/tests/steps/resolvePercentHeight.test.js
PASS packages/image/tests/cache.test.js
PASS packages/textkit/tests/run/equal.test.js
PASS packages/layout/tests/utils/url.test.js
PASS packages/layout/tests/text/heightAtLineIndex.test.js
PASS packages/textkit/tests/run/omit.test.js
PASS packages/render/tests/utils/matchPercent.test.js
PASS packages/layout/tests/utils/matchPercent.test.js
PASS packages/render/tests/svg/parsePoints.test.js
PASS packages/textkit/tests/utils/stringFromCodePoints.test.js
PASS packages/layout/tests/node/setDisplay.test.js
PASS packages/layout/tests/node/getOrigin.test.js
PASS packages/textkit/tests/utils/isBetween.test.js
PASS packages/layout/tests/node/setOverflow.test.js
PASS packages/stylesheet/tests/colors.test.js
PASS packages/layout/tests/node/setBorderWidth.test.js (8.233s)
PASS packages/layout/tests/node/setFlexWrap.test.js
PASS packages/layout/tests/node/getBorderWidth.test.js
PASS packages/textkit/tests/run/descent.test.js
PASS packages/textkit/tests/run/glyphIndexAt.test.js
PASS packages/textkit/tests/attributedString/ascent.test.js
PASS packages/textkit/tests/attributedString/height.test.js
PASS packages/textkit/tests/run/advanceWidth.test.js
PASS packages/render/tests/operations/setDestination.test.js
PASS packages/render/tests/primitives/renderCircle.test.js
PASS packages/layout/tests/node/setPositionType.test.js
PASS packages/textkit/tests/run/subtract.test.js
PASS packages/textkit/tests/attributedString/runIndexAt.test.js
PASS packages/textkit/tests/attributedString/runAt.test.js
PASS packages/layout/tests/node/getPosition.test.js
PASS packages/yoga/tests/zeroOutLayoutRecursivly.test.js
PASS packages/layout/tests/node/getMargin.test.js (6.633s)
PASS packages/layout/tests/node/getPadding.test.js (6.838s)
PASS packages/renderer/tests/propsEqual.test.js
PASS packages/yoga/tests/nodeChild.test.js
PASS packages/textkit/tests/run/contains.test.js
PASS packages/layout/tests/node/setFlexShrink.test.js
PASS packages/layout/tests/page/isHeightAuto.test.js
PASS packages/render/tests/primitives/renderEllipse.test.js
PASS packages/layout/tests/node/setFlexGrow.test.js
PASS packages/textkit/tests/attributedString/descent.test.js
PASS packages/textkit/tests/indices/normalize.test.js
PASS packages/textkit/tests/glyph/fromCodePoint.test.js
PASS packages/textkit/tests/rect/containsRect.test.js
PASS packages/textkit/tests/run/add.test.js
PASS packages/textkit/tests/attributedString/advanceWidth.test.js
PASS packages/textkit/tests/run/runIndexAt.test.js
PASS packages/textkit/tests/run/lineGap.test.js
PASS packages/layout/tests/page/getOrientation.test.js
PASS packages/layout/tests/node/setAlignItems.test.js (6.461s)
PASS packages/layout/tests/image/getSource.test.js
PASS packages/textkit/tests/run/extend.test.js
PASS packages/textkit/tests/rect/bottomRight.test.js
PASS packages/textkit/tests/rect/containsPoint.test.js
PASS packages/textkit/tests/utils/isNumber.test.js
PASS packages/textkit/tests/run/copy.test.js
PASS packages/textkit/tests/rect/bottomLeft.test.js
PASS packages/textkit/tests/rect/topLeft.test.js
PASS packages/textkit/tests/rect/topRight.test.js
PASS packages/layout/tests/node/setAlignContent.test.js (7.116s)
PASS packages/layout/tests/utils/capitalize.test.js
PASS packages/textkit/tests/indices/prepend.test.js
PASS packages/layout/tests/node/getDimension.test.js
PASS packages/layout/tests/node/setAspectRatio.test.js
PASS packages/textkit/tests/indices/append.test.js
PASS packages/yoga/tests/computedMargin.test.js
PASS packages/layout/tests/page/isLandscape.test.js
PASS packages/layout/tests/page/isPortrait.test.js
PASS packages/textkit/tests/run/getFont.test.js
PASS packages/textkit/tests/run/scale.test.js
PASS packages/layout/tests/node/setFlexBasis.test.js
PASS packages/textkit/tests/glyph/isWhiteSpace.test.js
PASS packages/textkit/tests/rect/intersects.test.js
PASS packages/layout/tests/utils/upperFirst.test.js
PASS packages/textkit/tests/utils/isFirstItem.test.js
PASS packages/textkit/tests/rect/equals.test.js
PASS packages/textkit/tests/utils/isLastItem.test.js
PASS packages/yoga/tests/computedPadding.test.js
PASS packages/textkit/tests/utils/mapIndexed.test.js
PASS packages/textkit/tests/attributedString/length.test.js
PASS packages/render/tests/utils/isPolyline.test.js
PASS packages/textkit/tests/attributedString/start.test.js
PASS packages/render/tests/utils/isEllipse.test.js
PASS packages/render/tests/utils/isTspan.test.js
PASS packages/textkit/tests/rect/area.test.js
PASS packages/render/tests/operations/restore.test.js
PASS packages/textkit/tests/rect/maxY.test.js
PASS packages/textkit/tests/attributedString/end.test.js
PASS packages/render/tests/utils/isGroup.test.js
PASS packages/render/tests/operations/save.test.js
PASS packages/textkit/tests/rect/maxX.test.js
PASS packages/render/tests/utils/isPath.test.js
PASS packages/render/tests/utils/isLink.test.js
PASS packages/render/tests/utils/isReadialGradient.test.js
PASS packages/render/tests/utils/isTextInstance.test.js
PASS packages/render/tests/utils/isRect.test.js
PASS packages/render/tests/utils/isPolygon.test.js
PASS packages/render/tests/utils/isText.test.js
PASS packages/render/tests/utils/isLine.test.js
PASS packages/textkit/tests/rect/copy.test.js
PASS packages/textkit/tests/utils/count.test.js
PASS packages/render/tests/utils/isCircle.test.js
PASS packages/textkit/tests/run/empty.test.js
PASS packages/render/tests/utils/isCanvas.test.js
PASS packages/textkit/tests/run/isEmpty.test.js
PASS packages/render/tests/utils/isSvg.test.js
PASS packages/textkit/tests/run/length.test.js
PASS packages/textkit/tests/rect/empty.test.js
PASS packages/render/tests/utils/isImage.test.js
PASS packages/textkit/tests/attributedString/empty.test.js
PASS packages/render/tests/utils/isNote.test.js
PASS packages/render/tests/utils/isPage.test.js
PASS packages/layout/tests/text/layoutText.test.js (11.881s)
PASS packages/renderer/tests/dom.test.js (26.076s)
(node:1401) V8: /testbed/packages/yoga/src/build/Release/nbind.js:5508 Invalid asm.js: Unexpected token
PASS packages/renderer/tests/node.test.js (31.957s)

Summary of all failing tests
FAIL packages/renderer/tests/bufferDeprecation.test.js
  ● Buffer deprecation regression › renderToStream does not use deprecated Buffer constructor when embedding fonts

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

    Expected: 0
    Received: null

      83 |   });
      84 |
    > 85 |   expect(result.status).toBe(0);
         |                         ^
      86 |   expect(result.stderr).toBe('');
      87 |
      88 |   return JSON.parse(result.stdout);

      at runRender (tests/bufferDeprecation.test.js:85:25)
      at Object.<anonymous> (tests/bufferDeprecation.test.js:93:20)

  ● Buffer deprecation regression › renderToString does not use deprecated Buffer constructor when embedding fonts

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

    Expected: 0
    Received: null

      83 |   });
      84 |
    > 85 |   expect(result.status).toBe(0);
         |                         ^
      86 |   expect(result.stderr).toBe('');
      87 |
      88 |   return JSON.parse(result.stdout);

      at runRender (tests/bufferDeprecation.test.js:85:25)
      at Object.<anonymous> (tests/bufferDeprecation.test.js:100:20)

  ● Buffer deprecation regression › renderToFile does not use deprecated Buffer constructor when embedding fonts

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

    Expected: 0
    Received: null

      83 |   });
      84 |
    > 85 |   expect(result.status).toBe(0);
         |                         ^
      86 |   expect(result.stderr).toBe('');
      87 |
      88 |   return JSON.parse(result.stdout);

      at runRender (tests/bufferDeprecation.test.js:85:25)
      at Object.<anonymous> (tests/bufferDeprecation.test.js:107:20)

FAIL packages/textkit/tests/indices/resolve.test.js
  ● indices resolve operator › should return same indices from simple chars

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

    - Expected
    + Received

      Array [
    -   0,
    -   1,
    -   2,
    -   3,
    -   4,
    +   undefined,
    +   undefined,
    +   undefined,
    +   undefined,
    +   undefined,
      ]

      25 |     ]);
      26 |
    > 27 |     expect(result).toEqual([0, 1, 2, 3, 4]);
         |                    ^
      28 |   });
      29 |
      30 |   test('should return correct glyph indices when starting with ligature', () => {

      at Object.<anonymous> (tests/indices/resolve.test.js:27:20)

  ● indices resolve operator › should return correct glyph indices when starting with ligature

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

    - Expected
    + Received

      Array [
    -   0,
    -   0,
    -   1,
    -   2,
    -   3,
    +   undefined,
    +   undefined,
    +   undefined,
    +   undefined,
      ]

      37 |     ]);
      38 |
    > 39 |     expect(result).toEqual([0, 0, 1, 2, 3]);
         |                    ^
      40 |   });
      41 |
      42 |   test('should return correct glyph indices when contain ligature', () => {

      at Object.<anonymous> (tests/indices/resolve.test.js:39:20)

  ● indices resolve operator › should return correct glyph indices when contain ligature

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

    - Expected
    + Received

      Array [
    -   0,
    -   1,
    -   2,
    -   2,
    -   3,
    +   undefined,
    +   undefined,
    +   undefined,
    +   undefined,
      ]

      49 |     ]);
      50 |
    > 51 |     expect(result).toEqual([0, 1, 2, 2, 3]);
         |                    ^
      52 |   });
      53 |
      54 |   test('should return correct glyph indices when ending in ligature', () => {

      at Object.<anonymous> (tests/indices/resolve.test.js:51:20)

  ● indices resolve operator › should return correct glyph indices when ending in ligature

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

    - Expected
    + Received

      Array [
    -   0,
    -   1,
    -   2,
    -   3,
    -   3,
    +   undefined,
    +   undefined,
    +   undefined,
    +   undefined,
      ]

      61 |     ]);
      62 |
    > 63 |     expect(result).toEqual([0, 1, 2, 3, 3]);
         |                    ^
      64 |   });
      65 |
      66 |   test('should return correct glyph indices when starting with long ligature', () => {

      at Object.<anonymous> (tests/indices/resolve.test.js:63:20)

  ● indices resolve operator › should return correct glyph indices when starting with long ligature

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

    - Expected
    + Received

      Array [
    -   0,
    -   0,
    -   0,
    -   1,
    -   2,
    -   3,
    +   undefined,
    +   undefined,
    +   undefined,
    +   undefined,
      ]

      73 |     ]);
      74 |
    > 75 |     expect(result).toEqual([0, 0, 0, 1, 2, 3]);
         |                    ^
      76 |   });
      77 |
      78 |   test('should return correct glyph indices when contain long ligature', () => {

      at Object.<anonymous> (tests/indices/resolve.test.js:75:20)

  ● indices resolve operator › should return correct glyph indices when contain long ligature

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

    - Expected
    + Received

      Array [
    -   0,
    -   1,
    -   2,
    -   2,
    -   2,
    -   3,
    +   undefined,
    +   undefined,
    +   undefined,
    +   undefined,
      ]

      85 |     ]);
      86 |
    > 87 |     expect(result).toEqual([0, 1, 2, 2, 2, 3]);
         |                    ^
      88 |   });
      89 |
      90 |   test('should return correct glyph indices when ending in long ligature', () => {

      at Object.<anonymous> (tests/indices/resolve.test.js:87:20)

  ● indices resolve operator › should return correct glyph indices when ending in long ligature

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

    - Expected
    + Received

      Array [
    -   0,
    -   1,
    -   2,
    -   3,
    -   3,
    -   3,
    +   undefined,
    +   undefined,
    +   undefined,
    +   undefined,
      ]

       97 |     ]);
       98 |
    >  99 |     expect(result).toEqual([0, 1, 2, 3, 3, 3]);
          |                    ^
      100 |   });
      101 |
      102 |   test('should fill undefined index at start', () => {

      at Object.<anonymous> (tests/indices/resolve.test.js:99:20)

  ● indices resolve operator › should fill undefined index at start

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

    - Expected
    + Received

      Array [
    -   0,
    -   1,
    -   2,
    -   3,
    -   4,
    +   undefined,
    +   undefined,
    +   undefined,
    +   undefined,
    +   undefined,
      ]

      110 |     ]);
      111 |
    > 112 |     expect(result).toEqual([0, 1, 2, 3, 4]);
          |                    ^
      113 |   });
      114 |
      115 |   test('should fill undefined index at middle', () => {

      at Object.<anonymous> (tests/indices/resolve.test.js:112:20)

  ● indices resolve operator › should fill undefined index at middle

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

    - Expected
    + Received

      Array [
    -   0,
    -   1,
    -   2,
    -   3,
    -   4,
    +   undefined,
    +   undefined,
    +   undefined,
    +   undefined,
    +   undefined,
      ]

      123 |     ]);
      124 |
    > 125 |     expect(result).toEqual([0, 1, 2, 3, 4]);
          |                    ^
      126 |   });
      127 |
      128 |   test('should fill undefined index at end', () => {

      at Object.<anonymous> (tests/indices/resolve.test.js:125:20)

  ● indices resolve operator › should fill undefined index at end

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

    - Expected
    + Received

      Array [
    -   0,
    -   1,
    -   2,
    -   3,
    -   4,
    +   undefined,
    +   undefined,
    +   undefined,
    +   undefined,
    +   undefined,
      ]

      136 |     ]);
      137 |
    > 138 |     expect(result).toEqual([0, 1, 2, 3, 4]);
          |                    ^
      139 |   });
      140 | });
      141 |

      at Object.<anonymous> (tests/indices/resolve.test.js:138:20)


Test Suites: 2 failed, 210 passed, 212 total
Tests:       13 failed, 7 skipped, 2079 passed, 2099 total
Snapshots:   25 passed, 25 total
Time:        55.249s
Ran all test suites in 9 projects.
+ : '>>>>> End Test Output'
+ git checkout 39f9b8a255334d335b0c7678b2129aeff6372d87 packages/textkit/tests/indices/resolve.test.js
Updated 1 path from ab7d7ac
