소스 검색

small test fix

Daniel Zlotin 6 년 전
부모
커밋
6dac4e8b95
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1
    1
      integration/remx/remx.test.js

+ 1
- 1
integration/remx/remx.test.js 파일 보기

48
   it('support for static members in connected components', () => {
48
   it('support for static members in connected components', () => {
49
     expect(MyConnectedComponent.options).toEqual({ title: 'MyComponent' });
49
     expect(MyConnectedComponent.options).toEqual({ title: 'MyComponent' });
50
 
50
 
51
-    const registeredComponentClass = Navigation.componentRegistry.registerComponent('MyComponentName', () => MyConnectedComponent);
51
+    const registeredComponentClass = Navigation.registerComponent('MyComponentName', () => MyConnectedComponent);
52
     expect(registeredComponentClass.options).toEqual({ title: 'MyComponent' });
52
     expect(registeredComponentClass.options).toEqual({ title: 'MyComponent' });
53
   });
53
   });
54
 });
54
 });