{"size": 419, "ext": "js", "max_stars_repo_path": "jest.config.js", "max_stars_repo_name": "ntnyq/vuepress-plugin-social-share", "max_stars_repo_stars_event_min_datetime": "2019-08-18T06:48:17.000Z", "max_stars_repo_stars_event_max_datetime": "2022-02-11T11:40:18.000Z", "max_issues_repo_path": "jest.config.js", "max_issues_repo_name": "ntnyq/vuepress-plugin-social-share", "max_issues_repo_issues_event_min_datetime": "2019-10-14T09:22:49.000Z", "max_issues_repo_issues_event_max_datetime": "2022-03-14T08:40:50.000Z", "max_forks_repo_path": "jest.config.js", "max_forks_repo_name": "ntnyq/vuepress-plugin-social-share", "max_forks_repo_forks_event_min_datetime": "2020-03-12T23:58:28.000Z", "max_forks_repo_forks_event_max_datetime": "2022-02-22T16:07:42.000Z"}
{"max_stars_count": 36, "max_issues_count": 20, "max_forks_count": 8, "avg_line_length": 17.4583333333, "max_line_length": 64, "alphanum_fraction": 0.6252983294}
const { resolve } = require('path')

module.exports = {
  rootDir: resolve(__dirname),

  testEnvironment: 'node',

  testMatch: [
    '<rootDir>/tests/**/*.spec.js',
  ],

  moduleNameMapper: {
    [`^vuepress-plugin-social-share$`]: '<rootDir>/lib',
  },

  snapshotSerializers: [require.resolve('jest-serializer-vue')],

  collectCoverageFrom: [
    '<rootDir>/lib/**/*.js',
  ],

  coverageDirectory: 'coverage',
}
