@MainActor
func testToEventuallyInAsyncContextOnMain() async {
expect(1).toEventually(equal(1)) // Fails with 'testToEventuallyInAsyncContextOnMain(): timed out before returning a value'
}
This bug does not occur when you run the test on a different thread, that is the following tests passes:
This bug does not occur when you run the test on a different thread, that is the following tests passes:
This is a blocker to releasing v11.