UNPKG

@cloud-copilot/iam-policy

Version:
18 lines 417 B
export function sortErrors(errors) { return errors.sort((a, b) => { if (a.path < b.path) { return -1; } else if (a.path > b.path) { return 1; } else if (a.message < b.message) { return -1; } else if (a.message > b.message) { return 1; } return 0; }); } //# sourceMappingURL=testutil.js.map