You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Same as maplibre/maplibre-gl-js#967
In test/lib/utils.ts we have a stringify and the following comment:
importcompactStringifyfrom'json-stringify-pretty-compact';// we have to handle this edge case here because we have test fixtures for this// edge case, and we don't want UPDATE=1 to mess with themexportfunctionstringify(v){lets=compactStringify(v);if(s.indexOf('\u2028')>=0){s=s.replace(/\u2028/g,'\\u2028');}if(s.indexOf('\u2029')>=0){s=s.replace(/\u2029/g,'\\u2029');}returns;}
maplibre-gl-js has removed all this function but maplibre-style-spec still available.
If this implementation is needed, close this issue.
Note: Also maplibre-style-spec uses stringifyPretty from json-stringify-pretty-compact.
The text was updated successfully, but these errors were encountered:
* #668 remove custom stringify function in test
* #668 use 2 space indent
* #668 remove from CHANGELOG
* #668 replace all json for test via UPDATE=1 npm run jest
Describe the bug
Same as maplibre/maplibre-gl-js#967
In
test/lib/utils.ts
we have a stringify and the following comment:maplibre-gl-js has removed all this function but maplibre-style-spec still available.
If this implementation is needed, close this issue.
Note: Also maplibre-style-spec uses stringifyPretty from json-stringify-pretty-compact.
The text was updated successfully, but these errors were encountered: