{"size": 406, "ext": "js", "max_stars_repo_path": "test/quote.js", "max_stars_repo_name": "MikeShi42/bibtexParseJs", "max_stars_repo_stars_event_min_datetime": "2015-02-18T14:36:57.000Z", "max_stars_repo_stars_event_max_datetime": "2022-03-29T07:04:29.000Z", "max_issues_repo_path": "test/quote.js", "max_issues_repo_name": "MikeShi42/bibtexParseJs", "max_issues_repo_issues_event_min_datetime": "2015-02-03T04:38:41.000Z", "max_issues_repo_issues_event_max_datetime": "2021-06-30T02:35:25.000Z", "max_forks_repo_path": "test/quote.js", "max_forks_repo_name": "MikeShi42/bibtexParseJs", "max_forks_repo_forks_event_min_datetime": "2015-11-20T08:52:35.000Z", "max_forks_repo_forks_event_max_datetime": "2021-06-17T15:23:21.000Z"}
{"max_stars_count": 87, "max_issues_count": 18, "max_forks_count": 40, "avg_line_length": 27.0666666667, "max_line_length": 136, "alphanum_fraction": 0.6625615764}
import test from 'ava';

const bibtexParse = require('../bibtexParse');

const input = `
  @article{sample1,
     title={sample \"Quote\" title},
     name={sample "Quote" title"}
  }
`;

const output = [{citationKey:"sample1",entryType:"article",entryTags: {title:"sample \"Quote\" title",name:"sample \"Quote\" title\""}}]

test('Quote should work', t => t.deepEqual(output, bibtexParse.toJSON(input)));
