🌳
pt0/deployF/testsF/testResultHelpersF.mts
1type TestResult = { passed: boolean; message: string }
2type SuiteSkipResult = { passed: true; skipped: true; message: string; testResults: [] }
4// Safe LAN IP for test scenarios (not a real server)
5export const testLanIpAddr = '192.168.1.200'
7export const pass = (message: string): TestResult => ({ passed: true, message })
8export const fail = (message: string): TestResult => ({ passed: false, message })
9export const skipSuite = (message: string): SuiteSkipResult => ({ passed: true, skipped: true, message, testResults: [] })