|
@@ -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
|
});
|