mirror of
https://github.com/samsonjs/SJSAssetExportSession.git
synced 2026-03-25 08:45:50 +00:00
Fix progress test
This commit is contained in:
parent
d82bd64635
commit
979a8e23ee
1 changed files with 2 additions and 0 deletions
|
|
@ -207,6 +207,8 @@ final class ExportSessionTests {
|
|||
as: .mov
|
||||
)
|
||||
|
||||
// Wait for last progress value to be yielded.
|
||||
try await Task.sleep(for: .milliseconds(10))
|
||||
#expect(progressValues.value.count > 2, "There should be intermediate progress updates")
|
||||
#expect(progressValues.value.first == 0.0)
|
||||
#expect(progressValues.value.last == 1.0)
|
||||
|
|
|
|||
Loading…
Reference in a new issue