{"size": 962, "ext": "js", "max_stars_repo_path": "test/jest/jest.config.js", "max_stars_repo_name": "alipay404/nohost", "max_stars_repo_stars_event_min_datetime": "2021-01-15T10:55:31.000Z", "max_stars_repo_stars_event_max_datetime": "2022-03-31T07:19:22.000Z", "max_issues_repo_path": "test/jest/jest.config.js", "max_issues_repo_name": "alipay404/nohost", "max_issues_repo_issues_event_min_datetime": "2021-01-15T12:14:12.000Z", "max_issues_repo_issues_event_max_datetime": "2022-03-08T23:38:40.000Z", "max_forks_repo_path": "test/jest/jest.config.js", "max_forks_repo_name": "alipay404/nohost", "max_forks_repo_forks_event_min_datetime": "2021-01-15T11:12:08.000Z", "max_forks_repo_forks_event_max_datetime": "2022-03-10T12:33:35.000Z"}
{"max_stars_count": 885, "max_issues_count": 46, "max_forks_count": 115, "avg_line_length": 37.0, "max_line_length": 106, "alphanum_fraction": 0.6746361746}
/* Tencent is pleased to support the open source community by making nohost-环境配置与抓包调试平台 available.
* Copyright (C) 2020 THL A29 Limited, a Tencent company.  All rights reserved. The below software in
* this distribution may have been modified by THL A29 Limited ("Tencent Modifications").
* All Tencent Modifications are Copyright (C) THL A29 Limited.
* nohost-环境配置与抓包调试平台 is licensed under the MIT License except for the third-party components listed below.
*/

const path = require('path');

module.exports = {
  moduleFileExtensions: ['js'],
  rootDir: '..',
  transform: {
    // '^.+\\.(ts|tsx)$': 'ts-jest',
    // 加载babel配置,
    '^.+\\.(t|j)s?$': ['babel-jest', { configFile: path.resolve(__dirname, 'babel.config.js') }],
  },
  testMatch: ['**/test/**/*.test.js'],
  testEnvironment: 'node',
  reporters: ['default'],
  coveragePathIgnorePatterns: [
    '/node_modules/',
  ],
  coverageReporters: ['json', 'json-summary', 'lcov', 'text', 'clover'],
};
