2019-05-30 22:42:45 +02:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
|
|
|
exports[`getSortedRoutes correctly sorts required slugs 1`] = `
|
|
|
|
Array [
|
|
|
|
"/",
|
2019-06-21 00:27:04 +02:00
|
|
|
"/apples/[ab]/[cd]/ef",
|
2019-11-14 02:10:28 +01:00
|
|
|
"/blog/abc",
|
|
|
|
"/blog/abc/post",
|
|
|
|
"/blog/abc/[id]",
|
2019-06-21 00:27:04 +02:00
|
|
|
"/blog/[id]",
|
|
|
|
"/blog/[id]/comments/[cid]",
|
|
|
|
"/foo/[d]/bar/baz/[f]",
|
2019-11-15 08:19:41 +01:00
|
|
|
"/p/[...rest]",
|
|
|
|
"/p2/[id]",
|
|
|
|
"/p2/[id]/abc",
|
|
|
|
"/p2/[...rest]",
|
2019-05-30 22:42:45 +02:00
|
|
|
"/posts",
|
2019-06-21 00:27:04 +02:00
|
|
|
"/posts/[id]",
|
|
|
|
"/[root-slug]",
|
2019-11-15 08:19:41 +01:00
|
|
|
"/[...rest]",
|
2019-05-30 22:42:45 +02:00
|
|
|
]
|
|
|
|
`;
|