1 Star 0 Fork 0

Neighbor.wang/nodejs-integration-tests-best-practices

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
jest.config.js 1.30 KB
一键复制 编辑 原始数据 按行查看 历史
Daniel Gluskin 提交于 2021-06-26 19:26 . fixes
module.exports = {
verbose: false,
testMatch: [
'**/test/**/*test*.js',
'**/*test*.js',
'!**/mocha/**',
'!**/playground/**',
'!**/*test-helper*',
'!**/*anti-pattern*', // Uncomment this only when you want to inspect the consequences of anti-patterns
'!**/*performance*', //Uncomment this only when you want to inspect the performance of tests
],
collectCoverage: false,
coverageReporters: ['text-summary', 'lcov'],
collectCoverageFrom: ['**/*.js', '!**/node_modules/**', '!**/test/**'],
forceExit: true,
testEnvironment: 'node',
notify: true,
globalSetup: './example-application/test/global-setup.js',
globalTeardown: './example-application/test/global-teardown.js',
notifyMode: 'change',
watchPlugins: [
'jest-watch-typeahead/filename',
'jest-watch-typeahead/testname',
[
'jest-watch-repeat',
{
key: 'r',
prompt: 'repeat test runs.',
},
],
[
'jest-watch-suspend',
{
key: 's',
prompt: 'suspend watch mode',
},
],
'jest-watch-master',
[
'jest-watch-toggle-config',
{
setting: 'verbose',
},
],
[
'jest-watch-toggle-config',
{
setting: 'collectCoverage',
},
],
],
};
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/tmhulw/nodejs-integration-tests-best-practices.git
git@gitee.com:tmhulw/nodejs-integration-tests-best-practices.git
tmhulw
nodejs-integration-tests-best-practices
nodejs-integration-tests-best-practices
master

搜索帮助

D67c1975 1850385 1daf7b77 1850385