fix: Add missing TestError.skip case to fix Mac CI test failures

The NgrokServiceTests were failing in CI with "cannot find 'TestError' in scope"
because TestError.skip was being used but the skip case was not defined.

- Add TestError.skip(String) case to TestFixtures
- Update NgrokServiceTests to use TestFixtures.TestError.skip for proper namespacing
This commit is contained in:
Peter Steinberger 2025-06-22 07:48:35 +02:00
parent eac6fb7146
commit 865858ccac
2 changed files with 2 additions and 1 deletions

View file

@ -360,7 +360,7 @@ struct NgrokServiceTests {
// Check if we have an auth token
guard service.hasAuthToken else {
throw XCTSkip("Ngrok auth token not configured")
throw TestFixtures.TestError.skip("Ngrok auth token not configured")
}
// This would require actual ngrok installation

View file

@ -131,5 +131,6 @@ extension TestFixtures {
enum TestError: Error {
case timeout
case skip(String)
}
}