feat: add conformance tests for SEP-1699 SSE polling (#47)
This commit is contained in:
parent
314f0f6d89
commit
f0e948187d
1 changed files with 1938 additions and 337 deletions
|
|
@ -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
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue