react-native/Libraries/RCTTest
Nick Lockwood 26c4be62c8 Fixed test flakiness due to a race condition with RCTRedBox
Summary:
The test runner relied on checking the current error message in the RCTRedbox, which is a singleton (yay, shared mutable state!). This lead to some tests that worked individually but failed when run together due to error messages in RCTRedBox left over from previous tests.

I've replaced the call to -[RCTRedBox currentErrorMessage] by injecting a custom logging function to intercept the errors at source, which is a much more reliable solution.
2015-08-19 03:41:31 -07:00
..
FBSnapshotTestCase Convert alloc/init to new to please linter 2015-08-17 08:46:00 -07:00
RCTTest.xcodeproj Text highlighting on iOS 2015-07-24 08:41:58 -08:00
RCTTestModule.h Migrate unit tests from FBReactKitModules to FBReactKit 2015-07-07 16:39:35 -08:00
RCTTestModule.m [Bridge] Support nullability annotations in bridged methods 2015-06-30 04:17:20 -08:00
RCTTestRunner.h Migrate unit tests from FBReactKitModules to FBReactKit 2015-07-07 16:39:35 -08:00
RCTTestRunner.m Fixed test flakiness due to a race condition with RCTRedBox 2015-08-19 03:41:31 -07:00