Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
vovasty committed Oct 8, 2019
1 parent 3f3bfa9 commit 6b154f2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Tests/ASViewControllerTests.mm
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ @implementation ASViewControllerTests
- (void)testThatAutomaticSubnodeManagementScrollViewInsetsAreApplied
{
UIWindow *window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
[window makeKeyAndVisible];

ASDisplayNode *node = [[ASDisplayNode alloc] init];
node.automaticallyManagesSubnodes = YES;
ASScrollNode *scrollNode = [[ASScrollNode alloc] init];
Expand All @@ -42,6 +44,8 @@ - (void)testThatAutomaticSubnodeManagementScrollViewInsetsAreApplied
- (void)testThatViewControllerFrameIsRightAfterCustomTransitionWithNonextendedEdges
{
UIWindow *window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
[window makeKeyAndVisible];

ASDisplayNode *node = [[ASDisplayNode alloc] init];

ASViewController *vc = [[ASViewController alloc] initWithNode:node];
Expand Down

0 comments on commit 6b154f2

Please sign in to comment.