feat: add conformance tests for SEP-1699 SSE polling (#47)

This commit is contained in:
Felix Weinberger 2025-11-24 18:34:28 +00:00 • committed by GitHub
commit f0e948187d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -125,9 +125,9 @@ describe('Server Scenarios', () => {
throw new Error(`Scenario failed with checks:\n ${failureMessages}`);
}
// All checks should be SUCCESS
const successes = checks.filter((c) => c.status === 'SUCCESS');
expect(successes.length).toBe(checks.length);
// All checks should be non-FAILURE (SUCCESS, WARNING, or INFO are acceptable)
const nonFailures = checks.filter((c) => c.status !== 'FAILURE');
expect(nonFailures.length).toBe(checks.length);
}, 10000); // 10 second timeout per scenario
}
});