azure-sdk-for-js
                                
                                
                                
                                    azure-sdk-for-js copied to clipboard
                            
                            
                            
                        Run JS tests in parallel
Research the current best practices for running JS tests in parallel. A few options:
- Mocha
- mocha.parallel
 - mocha-parallel-tests
 - Comparison: https://github.com/mocha-parallel/mocha-parallel-tests/wiki/Comparison-with-mocha.parallel
 
 - Jest
- Migration: https://medium.com/airbnb-engineering/unlocking-test-performance-migrating-from-mocha-to-jest-2796c508ec50
 
 
It makes sense to look at Mocha first as our tests are already using Mocha. During MQ 2021 we would like to
- figure out what's needed
 - enable parallel test executing for one package which can be served as a sample
 
JS team would like to investigate this during MQ 2021
Any thoughts on which milestone we should move this to?
Moving this to Backlog for now. It needs newer version of mocha. I found it not straightforward to upgrade in my brief attempt.
Mocha v8 has parallel execution support built-in.