mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-03-26 07:04:05 +08:00
Move JS integration tests to root folder
Reviewed By: mkonicek Differential Revision: D2658454 fb-gh-sync-id: b639ea995411a7e43903264318b5fca4d2f1e9f7
This commit is contained in:
committed by
facebook-github-bot-9
parent
7a794cc72b
commit
a027218641
@@ -37,10 +37,10 @@
|
||||
|
||||
NSOperatingSystemVersion version = [NSProcessInfo processInfo].operatingSystemVersion;
|
||||
RCTAssert((version.majorVersion == 8 && version.minorVersion >= 3) || version.majorVersion >= 9, @"Tests should be run on iOS 8.3+, found %zd.%zd.%zd", version.majorVersion, version.minorVersion, version.patchVersion);
|
||||
_runner = RCTInitRunnerForApp(@"Examples/UIExplorer/UIExplorerIntegrationTests/js/IntegrationTestsApp", nil);
|
||||
_runner = RCTInitRunnerForApp(@"IntegrationTests/IntegrationTestsApp", nil);
|
||||
}
|
||||
|
||||
#pragma mark Logic Tests
|
||||
#pragma mark - Test harness
|
||||
|
||||
- (void)testTheTester_waitOneFrame
|
||||
{
|
||||
@@ -59,16 +59,17 @@ configurationBlock:nil
|
||||
expectErrorRegex:@"because shouldThrow"];
|
||||
}
|
||||
|
||||
#pragma mark - JS tests
|
||||
|
||||
// This list should be kept in sync with IntegrationTestsApp.js
|
||||
RCT_TEST(IntegrationTestHarnessTest)
|
||||
RCT_TEST(TimersTest)
|
||||
RCT_TEST(AsyncStorageTest)
|
||||
RCT_TEST(AppEventsTest)
|
||||
//RCT_TEST(ImageSnapshotTest) // Disabled: #8985988
|
||||
//RCT_TEST(LayoutEventsTest) // Disabled due to flakiness: #8686784
|
||||
RCT_TEST(SimpleSnapshotTest)
|
||||
RCT_TEST(PromiseTest)
|
||||
|
||||
// Disable due to flakiness: #8686784
|
||||
//RCT_TEST(LayoutEventsTest)
|
||||
//RCT_TEST(PromiseTest)
|
||||
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user