{"size": 658, "ext": "js", "max_stars_repo_path": "examples/default/.testcaferc.js", "max_stars_repo_name": "rafalsep/testcafe-global-network-logger", "max_stars_repo_stars_event_min_datetime": "2022-03-30T16:57:53.000Z", "max_stars_repo_stars_event_max_datetime": "2022-03-30T16:57:53.000Z", "max_issues_repo_path": "examples/default/.testcaferc.js", "max_issues_repo_name": "rafalsep/testcafe-global-network-request-logger", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "examples/default/.testcaferc.js", "max_forks_repo_name": "rafalsep/testcafe-global-network-request-logger", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 1, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 23.5, "max_line_length": 89, "alphanum_fraction": 0.6291793313}
const networkRequestLogger = require('../../src/index.js')();

module.exports = {
  hostname: 'localhost',
  network: {
    path: 'examples/default/tmp',
    takeOnFails: false,
    pathPattern: '${DATE}/${FIXTURE}/network/${TEST}_${TIME}_${QUARANTINE_ATTEMPT}.json',
    requestLimit: 0,
  },
  color: true,
  browserInitTimeout: 20000,
  selectorTimeout: 10000,
  assertionTimeout: 10000,
  pageLoadTimeout: 10000,
  pageRequestTimeout: 10000,
  hooks: {
    test: {
      before: async t => {
        await networkRequestLogger.onBeforeHook(t);
      },
      after: async t => {
        await networkRequestLogger.onAfterHook(t);
      },
    },
  },
};
