Searched refs:stringifyJsonSorted (Results 1 – 6 of 6) sorted by relevance
1 import { stringifyJsonSorted } from '../Utils';3 describe(stringifyJsonSorted, () => {5 expect(stringifyJsonSorted(1)).toEqual('1');6 expect(stringifyJsonSorted('s')).toEqual('"s"');7 expect(stringifyJsonSorted(true)).toEqual('true');8 expect(stringifyJsonSorted(false)).toEqual('false');9 expect(stringifyJsonSorted(null)).toEqual('null');13 expect(stringifyJsonSorted([])).toEqual('[]');20 expect(stringifyJsonSorted({})).toEqual('{}');31 expect(stringifyJsonSorted([{ b: '2' }, {}, { a: '3' }, null])).toEqual([all …]
6 exports.stringifyJsonSorted = exports.getFileBasedHashSourceAsync = void 0;28 function stringifyJsonSorted(target, space) { function31 exports.stringifyJsonSorted = stringifyJsonSorted;39 const stringifiedA = stringifyJsonSorted(a);40 const stringifiedB = stringifyJsonSorted(b);
6 export declare function stringifyJsonSorted(target: any, space?: string | number | undefined): stri…
90 return (0, Utils_1.stringifyJsonSorted)(normalizedConfig);
28 export function stringifyJsonSorted(target: any, space?: string | number | undefined): string { function39 const stringifiedA = stringifyJsonSorted(a);40 const stringifiedB = stringifyJsonSorted(b);
10 import { getFileBasedHashSourceAsync, stringifyJsonSorted } from './Utils';109 return stringifyJsonSorted(normalizedConfig);