mirror of
https://github.com/wassname/react-webpack-template.git
synced 2026-07-13 17:45:10 +08:00
Added compatibility for react 0.14
This commit is contained in:
@@ -18,6 +18,6 @@ describe('MainComponent', () => {
|
||||
});
|
||||
|
||||
it('should have its component name as default className', () => {
|
||||
expect(MainComponent._store.props.className).to.equal('index');
|
||||
expect(MainComponent.props.className).to.equal('index');
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user