Add PromiseKit dependency
- Added PromiseKit dependency
This commit is contained in:
18
Carthage/Checkouts/PromiseKit/Extensions/QuartzCore/Tests/TestQuartzCore.m
vendored
Normal file
18
Carthage/Checkouts/PromiseKit/Extensions/QuartzCore/Tests/TestQuartzCore.m
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
@import PMKQuartzCore;
|
||||
@import PromiseKit;
|
||||
@import QuartzCore;
|
||||
@import XCTest;
|
||||
|
||||
@implementation TestCALayer: XCTestCase
|
||||
|
||||
- (void)test {
|
||||
id ex = [self expectationWithDescription:@""];
|
||||
|
||||
[[CALayer layer] promiseAnimation:[CAAnimation new] forKey:@"center"].then(^{
|
||||
[ex fulfill];
|
||||
});
|
||||
|
||||
[self waitForExpectationsWithTimeout:1 handler:nil];
|
||||
}
|
||||
|
||||
@end
|
||||
Reference in New Issue
Block a user