mirror of
https://github.com/swc-project/swc.git
synced 2024-11-23 00:32:15 +03:00
13 lines
447 B
JavaScript
13 lines
447 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"),
|
|
};
|