1
0
mirror of https://github.com/nicoverbruggen/phpmon.git synced 2025-12-21 03:10:06 +01:00

Add testable WebApi

This commit is contained in:
2025-11-18 14:02:16 +01:00
parent 7a60435421
commit ea6d7ca457
12 changed files with 238 additions and 61 deletions

View File

@@ -9,7 +9,6 @@
import Testing
import Foundation
@Suite(.serialized)
struct RealShellTest {
var container: Container
@@ -75,6 +74,6 @@ struct RealShellTest {
}
let duration = start.duration(to: .now)
#expect(duration < .milliseconds(1500)) // Should complete in ~700ms if parallel
#expect(duration < .milliseconds(2000)) // Should complete in ~700ms if parallel
}
}