// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`arXiv search tests should return results as expected - default values 1`] = `
Array [
  Object {
    "authors": Array [
      Array [
        "AUTHOR1",
      ],
      Array [
        "AUTHOR2",
      ],
    ],
    "categories": Array [
      "CATEGORY",
    ],
    "id": "PAPER_ID",
    "links": Array [
      Object {
        "href": "URL",
        "rel": "REL",
        "title": "TITLE",
        "type": "TYPE",
      },
    ],
    "published": "PUBLISHED",
    "summary": "SUMMARY",
    "title": "TITLE",
    "updated": "UPDATED",
  },
]
`;

exports[`arXiv search tests should return results as expected - with sortBy and sortOrder 1`] = `
Array [
  Object {
    "authors": Array [
      Array [
        "AUTHOR1",
      ],
      Array [
        "AUTHOR2",
      ],
    ],
    "categories": Array [
      "CATEGORY",
    ],
    "id": "PAPER_ID",
    "links": Array [
      Object {
        "href": "URL",
        "rel": "REL",
        "title": "TITLE",
        "type": "TYPE",
      },
    ],
    "published": "PUBLISHED",
    "summary": "SUMMARY",
    "title": "TITLE",
    "updated": "UPDATED",
  },
]
`;

exports[`arXiv search tests should return results as expected 1`] = `
Array [
  Object {
    "authors": Array [
      Array [
        "AUTHOR1",
      ],
      Array [
        "AUTHOR2",
      ],
    ],
    "categories": Array [
      "CATEGORY",
    ],
    "id": "PAPER_ID",
    "links": Array [
      Object {
        "href": "URL",
        "rel": "REL",
        "title": "TITLE",
        "type": "TYPE",
      },
    ],
    "published": "PUBLISHED",
    "summary": "SUMMARY",
    "title": "TITLE",
    "updated": "UPDATED",
  },
]
`;

exports[`arXiv search tests should throw error - exclude tags is not an array 1`] = `[Error: include and exclude must be arrays]`;

exports[`arXiv search tests should throw error - include tags empty 1`] = `[Error: include is a mandatory field]`;

exports[`arXiv search tests should throw error - include tags is not an array 1`] = `[Error: include and exclude must be arrays]`;

exports[`arXiv search tests should throw error - searchQueryParams is not an array 1`] = `[Error: query param must be an array]`;

exports[`arXiv search tests should throw error - tag name is empty 1`] = `[Error: you must specify tag name]`;

exports[`arXiv search tests should throw error - tag name is not string 1`] = `[Error: you must specify tag name]`;

exports[`arXiv search tests should throw error - unsupported sortBy 1`] = `[Error: unsupported sort by option. should be one of: relevance lastUpdatedDate submittedDate]`;

exports[`arXiv search tests should throw error - unsupported sortOrder 1`] = `[Error: unsupported sort order option. should be one of: ascending descending]`;

exports[`arXiv search tests should throw error - unsupported tag prefix 1`] = `[Error: unsupported prefix: pre]`;
