2426b3b5ec
Summary: The utf-8 test was failing when run from Jest’s cache, because it contained unicode escape sequences for stray high and low surrogates. Somewhere in the process of transpiling, caching on disk, and reading from the cache, those stray surrogates are changed to U+FFFD (REPLACEMENT CHARACTER / �). This diffs changes the method of creating these strings from literals to `String.fromCharCode`, which survives the process as intended. Reviewed By: bestander Differential Revision: D3534711 fbshipit-source-id: 365bace77a1f914e6e2fbb3430b3e0ea6cec5e83 |
||
---|---|---|
.. | ||
MatrixMath-test.js | ||
MessageQueue-test.js | ||
Platform-test.js | ||
deepFreezeAndThrowOnMutationInDev-test.js | ||
groupByEveryN-test.js | ||
mapWithSeparator-test.js | ||
truncate-test.js | ||
utf8-test.js |