Skip to content

test: sha256 해싱에 λŒ€ν•œ deterministic ν…ŒμŠ€νŠΈ

dc6ab81
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

Partition canonical api spec output #14

test: sha256 해싱에 λŒ€ν•œ deterministic ν…ŒμŠ€νŠΈ
dc6ab81
Select commit
Loading
Failed to load commit list.
GitHub Actions / Test Logs succeeded Jan 21, 2026 in 0s

16 passed, 0 failed and 0 skipped

Tests passed successfully

Report Passed Failed Skipped Time
packages/patchlogr-cli/.coverage/report.xml 1βœ… 4ms
packages/patchlogr-core/.coverage/report.xml 15βœ… 26ms

βœ…Β packages/patchlogr-cli/.coverage/report.xml

1 tests were completed in 4ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
src/tests/sample.test.ts 1βœ… 4ms

βœ…Β src/tests/sample.test.ts

βœ… @patchlogr/cli > sample test

βœ…Β packages/patchlogr-core/.coverage/report.xml

15 tests were completed in 26ms with 15 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
src/partition/tests/partitionByMethod.test.ts 2βœ… 7ms
src/partition/tests/partitionByTag.test.ts 3βœ… 8ms
src/utils/tests/createHash.test.ts 1βœ… 3ms
src/utils/tests/stableStringify.test.ts 9βœ… 8ms

βœ…Β src/partition/tests/partitionByMethod.test.ts

βœ… partitionByMethod > should group by HTTPMethod
βœ… partitionByMethod > should group by multiple HTTPMethods

βœ…Β src/partition/tests/partitionByTag.test.ts

βœ… partitionByTag > should group by first tag
βœ… partitionByTag > should group by multiple tags
βœ… partitionByTag > should group into default tag if tag not exists

βœ…Β src/utils/tests/createHash.test.ts

βœ… createHash > createSHA256Hash > sha256 must be deterministic

βœ…Β src/utils/tests/stableStringify.test.ts

βœ… stableStringify > should stringify json
βœ… stableStringify > should stringify json in a stable order
βœ… stableStringify > should stringify nested objects with stable key order
βœ… stableStringify > should stringify deeply nested objects with stable key order
βœ… stableStringify > should stringify arrays containing objects with stable key order
βœ… stableStringify > should handle null and primitive values correctly
βœ… stableStringify > should produce deterministic output for canonical spec hashing
βœ… stableStringify > should output nested object keys in sorted order
βœ… stableStringify > should sort keys in arrays of objects