{"size": 296, "ext": "js", "max_stars_repo_path": "test/raw.js", "max_stars_repo_name": "miraclx/youtube-dl-exec", "max_stars_repo_stars_event_min_datetime": "2021-04-18T08:26:02.000Z", "max_stars_repo_stars_event_max_datetime": "2021-04-18T08:26:02.000Z", "max_issues_repo_path": "test/raw.js", "max_issues_repo_name": "miraclx/youtube-dl-exec", "max_issues_repo_issues_event_min_datetime": "2022-02-14T21:20:00.000Z", "max_issues_repo_issues_event_max_datetime": "2022-03-02T21:22:55.000Z", "max_forks_repo_path": "test/raw.js", "max_forks_repo_name": "miraclx/youtube-dl-exec", "max_forks_repo_forks_event_min_datetime": "2021-04-26T05:35:53.000Z", "max_forks_repo_forks_event_max_datetime": "2021-07-17T06:03:48.000Z"}
{"max_stars_count": 1, "max_issues_count": 4, "max_forks_count": 3, "avg_line_length": 17.4117647059, "max_line_length": 50, "alphanum_fraction": 0.6452702703}
'use strict'

const test = require('ava')

const youtubedl = require('..')

test('acess to subprocess object', async t => {
  const subprocess = youtubedl.raw(
    'https://www.youtube.com/watch?v=2Z4m4lnjxkY',
    {
      dumpSingleJson: true
    }
  )

  t.snapshot(Object.keys(subprocess))
})
