You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
assertSnapshot uses XCTContext.runActivity to save attachments, but XCTContext.runActivity crashes when run outside of the main thread.
Also, assertSnapshot blocks the thread if I use XCTWaiter.wait in Snapshotting, but I use a library that does processing in the main thread, so assertSnapshot(XCTWaiter.wait) must be executed outside the main thread so that XCTWaiter.wait doesn't block Library.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
assertSnapshot uses XCTContext.runActivity to save attachments, but XCTContext.runActivity crashes when run outside of the main thread.
Also, assertSnapshot blocks the thread if I use XCTWaiter.wait in Snapshotting, but I use a library that does processing in the main thread, so assertSnapshot(XCTWaiter.wait) must be executed outside the main thread so that XCTWaiter.wait doesn't block Library.
Version:
swift-snapshot-testing: 1.17.4
Beta Was this translation helpful? Give feedback.
All reactions