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:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user