xtinec opened a new pull request #6079: [refactor] Migrate from Mocha+Chai to 
Jest
URL: https://github.com/apache/incubator-superset/pull/6079
 
 
   This change migrates all the existing unit tests
   - to Jest's global expect and matchers from chai's imported expect, asserts 
and matchers.
   - to Jest's describe/test from mocha's describe/it
   
   The majority of the mechanical changes to tests are achieved through running 
jest-codemods. The only two note-worthy manual tweaks:
   1. Setting a testURL of http://localhost in jest config and adjusting a few 
tests to leverage this value instead of relying on about:blank.
   2. Re-enabling ExploreChartPanel_spec which was previously commented out as 
we cannot have empty tests with nothing in it with Jest. :)
   
   This change also removes dependencies to Mocha and Chai.
   
   @williaster @kristw @mistercrunch @betodealmeida  

----------------------------------------------------------------
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