Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

fix: normalize validation guard fixture paths

Adam Eivyf696c30e5299
diff --git a/server/lib/validationSplit.test.js b/server/lib/validationSplit.test.js
index 1fc8f630e7..1b7734d841 100644
--- a/server/lib/validationSplit.test.js
+++ b/server/lib/validationSplit.test.js
@@ -254,7 +254,10 @@ describe('exported validation schemas are wired (#5730)', () => {
intentionallyUnwired: new Set(['testOneValidation.js:allowlistedSchema']),
barrel: 'server/lib/index.js',
trackedFiles: Object.keys(fakeFiles),
- readFile: (p) => fakeFiles[p.replace(/^\/fake\/root\//, '')],
+ readFile: (p) => {
+ const normalized = p.replaceAll('\\', '/');
+ return fakeFiles[normalized.split('/fake/root/').at(-1)];
+ },
});
expect(unwired).toEqual([