test: add ios coverage hooks
This commit is contained in:
1 parent
65b48561a9
commit
14fae5af9e
3 files changed
+60
No files matched your search
@@ -198,3 +198,15 @@ final class ScreenRecordService {
|
||||
return min(30, max(1, v))
|
||||
}
|
||||
}
|
||||
|
||||
#if DEBUG
|
||||
extension ScreenRecordService {
|
||||
nonisolated static func _test_clampDurationMs(_ ms: Int?) -> Int {
|
||||
self.clampDurationMs(ms)
|
||||
}
|
||||
|
||||
nonisolated static func _test_clampFps(_ fps: Double?) -> Double {
|
||||
self.clampFps(fps)
|
||||
}
|
||||
}
|
||||
#endif
|
||||
Reference in new issue
Block a user