Browse Source

small test fix

Daniel Zlotin 6 years ago
parent
commit
6dac4e8b95
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      integration/remx/remx.test.js

+ 1
- 1
integration/remx/remx.test.js View File

@@ -48,7 +48,7 @@ describe('remx support', () => {
48 48
   it('support for static members in connected components', () => {
49 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 52
     expect(registeredComponentClass.options).toEqual({ title: 'MyComponent' });
53 53
   });
54 54
 });