singularity-forge/packages/native/src/__tests__
madjack f4ecf9d11a fix: use Array.from instead of Buffer.from for native processStreamChunk state (#2348)
The napi StreamState fields (utf8Pending, ansiPending) expect plain arrays
(Vec<u8>), not Buffers. Passing Buffer.from() caused 'Given napi value is
not an array on StreamState.utf8Pending' crash on multi-chunk bash output.

Added regression test for multi-chunk state passing.

AI-assisted: This change was authored with Claude (AI pair programming).
2026-03-25 00:08:11 -06:00
..
clipboard.test.mjs feat: add native clipboard module with arboard backend (#228) 2026-03-13 12:48:27 -06:00
diff.test.mjs feat: add native Rust diff engine for edit tool 2026-03-13 14:11:40 -06:00
fd.test.mjs perf: optimize discovery and interactive hot paths 2026-03-14 16:03:44 -05:00
glob.test.mjs feat: add native glob and fs_cache modules with gitignore-aware discovery (#226) 2026-03-13 12:45:56 -06:00
grep.test.mjs perf: optimize discovery and interactive hot paths 2026-03-14 16:03:44 -05:00
highlight.test.mjs fix: repair native module test assertions 2026-03-13 13:06:47 -06:00
html.test.mjs feat: add html-to-markdown native module 2026-03-13 12:40:42 -06:00
image.test.mjs feat: add native image module — decode, encode, and resize via Rust image crate 2026-03-13 12:51:49 -06:00
json-parse.test.mjs feat: native Rust streaming JSON parser (#266) 2026-03-13 16:21:58 -06:00
ps.test.mjs fix: repair native module test assertions 2026-03-13 13:06:47 -06:00
stream-process.test.mjs fix: use Array.from instead of Buffer.from for native processStreamChunk state (#2348) 2026-03-25 00:08:11 -06:00
text.test.mjs feat(gsd): unified rule registry, event journal, journal query tool, and tool naming convention (#1928) 2026-03-21 18:47:41 -06:00
truncate.test.mjs feat: native Rust output truncation module (#268) 2026-03-13 16:48:49 -06:00
ttsr.test.mjs feat: add native Rust TTSR regex engine via RegexSet 2026-03-13 13:57:12 -06:00
xxhash.test.mjs Fix execute-task loop detection: adaptive reconciliation instead of hard stop (#342) 2026-03-14 07:26:10 -06:00