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

exports[`sortConfig sorts route config correctly 1`] = `
[
  {
    "component": "",
    "path": "/community",
  },
  {
    "component": "",
    "path": "/some-page",
  },
  {
    "component": "",
    "path": "/docs",
    "routes": [
      {
        "component": "",
        "path": "/docs/someDoc",
      },
      {
        "component": "",
        "path": "/docs/someOtherDoc",
      },
    ],
  },
  {
    "component": "",
    "path": "/",
  },
  {
    "component": "",
    "path": "/",
    "routes": [
      {
        "component": "",
        "path": "/someDoc",
      },
      {
        "component": "",
        "path": "/someOtherDoc",
      },
    ],
  },
  {
    "component": "",
    "path": "/",
    "routes": [
      {
        "component": "",
        "path": "/subroute",
      },
    ],
  },
]
`;

exports[`sortConfig sorts route config given a baseURL 1`] = `
[
  {
    "component": "",
    "path": "/latest/community",
  },
  {
    "component": "",
    "path": "/latest/example",
  },
  {
    "component": "",
    "path": "/latest/some-page",
  },
  {
    "component": "",
    "path": "/latest/docs",
    "routes": [
      {
        "component": "",
        "path": "/latest/docs/someDoc",
      },
      {
        "component": "",
        "path": "/latest/docs/someOtherDoc",
      },
    ],
  },
  {
    "component": "",
    "path": "/latest/",
  },
  {
    "component": "",
    "path": "/latest/",
    "routes": [
      {
        "component": "",
        "path": "/latest/someDoc",
      },
      {
        "component": "",
        "path": "/latest/someOtherDoc",
      },
    ],
  },
]
`;
