Files
PaperClipAI/packages
devinfoleyandClaude Fable 5.1 e8f8e9c8f3 fix(test): make the template fixture tests self-contained and portable
useScratchTmpdir only redirected TMPDIR, so on Windows os.tmpdir() kept
reading TEMP/TMP and the fallback test asserted on paths outside the
scratch root. It now sets and restores TMPDIR, TEMP and TMP together, and
the fallback test checks the redirect before it asserts on paths.

The timestamp-refresh test assumed an earlier test had published a
template. Under PAPERCLIP_TEST_POSTGRES_TEMPLATE=0 the support probe does
not publish one, so running the test alone threw ENOENT from utimes. It
now starts and cleans up a suite first, which builds the template when
nothing has.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-11 08:01:44 +00:00
..