From 6188c040fac24bc7fab430b107fed78767f48fbb Mon Sep 17 00:00:00 2001 From: Flux Labs Date: Sun, 15 Mar 2026 13:06:38 -0500 Subject: [PATCH] fix: normalize path separators in debug-logger test for Windows CI --- src/resources/extensions/gsd/tests/debug-logger.test.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/resources/extensions/gsd/tests/debug-logger.test.ts b/src/resources/extensions/gsd/tests/debug-logger.test.ts index b005632d8..41019fbf1 100644 --- a/src/resources/extensions/gsd/tests/debug-logger.test.ts +++ b/src/resources/extensions/gsd/tests/debug-logger.test.ts @@ -38,7 +38,9 @@ test('enableDebug creates log file and sets enabled', () => { assert.strictEqual(isDebugEnabled(), true); const logPath = getDebugLogPath(); assert.ok(logPath, 'log path should be set'); - assert.ok(logPath!.includes('.gsd/debug/debug-'), 'log path should be in .gsd/debug/'); + // Normalize path separators for Windows compatibility + const normalized = logPath!.replace(/\\/g, '/'); + assert.ok(normalized.includes('.gsd/debug/debug-'), 'log path should be in .gsd/debug/'); assert.ok(logPath!.endsWith('.log'), 'log path should end with .log'); disableDebug();