mirror of
https://github.com/anuraghazra/github-readme-stats.git
synced 2024-11-21 01:16:23 +08:00
428e97bfcc
* Add basic bench tests * dev
17 lines
596 B
JavaScript
17 lines
596 B
JavaScript
export default {
|
|
// Jest-bench need its own test environment to function
|
|
testEnvironment: "jest-bench/environment",
|
|
testEnvironmentOptions: {
|
|
// still Jest-bench environment will run your environment if you specify it here
|
|
testEnvironment: "jest-environment-node",
|
|
testEnvironmentOptions: {
|
|
// specify any option for your environment
|
|
},
|
|
},
|
|
// always include "default" reporter along with Jest-bench reporter
|
|
// for error reporting
|
|
reporters: ["default", "jest-bench/reporter"],
|
|
// will pick up "*.bench.js" file.
|
|
testRegex: "(\\.bench)\\.(ts|tsx|js)$",
|
|
};
|