瀏覽代碼

fixed wrong test

Daniel Zlotin 7 年之前
父節點
當前提交
4b7349e886

+ 1
- 2
lib/android/app/src/test/java/com/reactnativenavigation/anim/ViewAnimationSetBuilderTest.java 查看文件

@@ -32,10 +32,9 @@ public class ViewAnimationSetBuilderTest extends BaseTest {
32 32
 	@Test
33 33
 	public void optionalCompletionListener() throws Exception {
34 34
 		new ViewAnimationSetBuilder()
35
-				.withEndListener(mockListener)
36 35
 				.add(someView(), someAnimation())
37 36
 				.start();
38
-		verify(mockListener, times(1)).run();
37
+		verify(mockListener, times(0)).run();
39 38
 	}
40 39
 
41 40
 	@Test