xtinec commented on a change in pull request #6079: [refactor] Migrate from 
Mocha+Chai to Jest
URL: 
https://github.com/apache/incubator-superset/pull/6079#discussion_r224885914
 
 

 ##########
 File path: superset/assets/spec/javascripts/addSlice/AddSliceContainer_spec.jsx
 ##########
 @@ -19,40 +18,40 @@ describe('AddSliceContainer', () => {
     wrapper = shallow(<AddSliceContainer {...defaultProps} />);
   });
 
-  it('uses table as default visType', () => {
-    expect(wrapper.state().visType).to.equal('table');
+  test('uses table as default visType', () => {
 
 Review comment:
   Took a quick look at `eslint-plugin-jest`. I like the rules it advocates. 
Good suggestion!
   
   Let me add it to this PR so we don't change `it` to `test` and the back to 
`it`. 😛 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to