mirror of
https://github.com/swc-project/swc.git
synced 2024-11-22 15:25:01 +03:00
12 lines
443 B
JavaScript
12 lines
443 B
JavaScript
/**
|
|
* https://github.com/swc-project/swc/pull/3009
|
|
*
|
|
* There are 2 test runners in this repo:
|
|
* - jest is being used for unit testing node-swc packages with javascript test cases
|
|
* - mocha is being used for cargo's test requires js runtime to validate its transform.
|
|
*
|
|
* This config is for the mocha test runner invoked by cargo to resolve its global setup file.
|
|
*/
|
|
module.exports = {
|
|
require: require.resolve('./.mocha.setup.js')
|
|
}; |