mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-02-09 09:12:06 +08:00
- Unforked RKWebView | Nick Lockwood
- [ReactNative] Add integration test stuff | Spencer Ahrens
- [ReactNative] AlertIOS.alert and examples | Eric Vicenti
- [react-packager] Implement image loading i.e. ix('img') -> require('image!img'); | Amjad Masad
- Fixed scrollOffset bug | Nick Lockwood
- [React Native] Update 2048 | Alex Akers
- deepDiffer should support explicitly undefined values | Thomas Aylott
15 lines
549 B
Objective-C
15 lines
549 B
Objective-C
// Copyright 2004-present Facebook. All Rights Reserved.
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
@interface RCTTestRunner : NSObject
|
|
|
|
@property (nonatomic, copy) NSString *script;
|
|
|
|
- (instancetype)initWithApp:(NSString *)app;
|
|
- (void)runTest:(NSString *)moduleName;
|
|
- (void)runTest:(NSString *)moduleName initialProps:(NSDictionary *)initialProps expectErrorRegex:(NSRegularExpression *)expectErrorRegex;
|
|
- (void)runTest:(NSString *)moduleName initialProps:(NSDictionary *)initialProps expectErrorBlock:(BOOL(^)(NSString *error))expectErrorBlock;
|
|
|
|
@end
|