-
Notifications
You must be signed in to change notification settings - Fork 256
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test(scully): added queryParam to tests (#518)
- Loading branch information
1 parent
a106c79
commit df2f32a
Showing
6 changed files
with
123 additions
and
4 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,119 @@ | ||
[ | ||
{"route": "/about"}, | ||
{"route": "/home/all"}, | ||
{"route": "/home/unpublished"}, | ||
{"route": "/home/"}, | ||
{"route": "/home"}, | ||
{"route": "/blog"}, | ||
{ | ||
"route": "/blog/2014/2/12/asdf", | ||
"title": "Deeply embedded", | ||
"author": "Sander Elias", | ||
"publish date": "2019-11-27T00:00:00.000Z", | ||
"published": true, | ||
"description": "This is the deep folder demo page in this sample.", | ||
"slugs": null, | ||
"sourceFile": "asdf.md" | ||
}, | ||
{ | ||
"route": "/blog/look_at_my-urls_Cool", | ||
"title": "My first page", | ||
"author": "Sander Elias", | ||
"publish date": "2019-11-26T00:00:00.000Z", | ||
"slug": "look at_my-urls Cool", | ||
"slugs": ["page-1"], | ||
"description": "This is the first demo page in this sample.", | ||
"sourceFile": "page-1.md" | ||
}, | ||
{ | ||
"route": "/blog/page-1", | ||
"title": "My first page", | ||
"author": "Sander Elias", | ||
"publish date": "2019-11-26T00:00:00.000Z", | ||
"slug": "look at_my-urls Cool", | ||
"slugs": ["page-1"], | ||
"description": "This is the first demo page in this sample.", | ||
"sourceFile": "page-1.md" | ||
}, | ||
{ | ||
"route": "/blog/___UNPUBLISHED___k5nhcflm_SJwD4Z0QDrIHg1PGHo2mrfLZE8sfUsPy", | ||
"title": "My second page", | ||
"author": "Sander Elias", | ||
"publish date": "2019-11-27T00:00:00.000Z", | ||
"published": false, | ||
"description": "This is the second demo page in this sample.", | ||
"slugs": ["___UNPUBLISHED___k5nhcflm_SJwD4Z0QDrIHg1PGHo2mrfLZE8sfUsPy", "page-2"], | ||
"slug": "___UNPUBLISHED___k5nhcflm_SJwD4Z0QDrIHg1PGHo2mrfLZE8sfUsPy", | ||
"sourceFile": "page-2.md" | ||
}, | ||
{ | ||
"route": "/blog/My_third_page%2C", | ||
"title": "My third page", | ||
"author": "Sander Elias", | ||
"publish date": "2019-11-28T00:00:00.000Z", | ||
"description": "At this point, I should write something different in here.", | ||
"slug": "My third page,", | ||
"slugs": ["page-3"], | ||
"sourceFile": "page-3.md" | ||
}, | ||
{ | ||
"route": "/blog/page-3", | ||
"title": "My third page", | ||
"author": "Sander Elias", | ||
"publish date": "2019-11-28T00:00:00.000Z", | ||
"description": "At this point, I should write something different in here.", | ||
"slug": "My third page,", | ||
"slugs": ["page-3"], | ||
"sourceFile": "page-3.md" | ||
}, | ||
{ | ||
"route": "/blog/page-4", | ||
"title": "The Rainbow Cat, A free book out of the Guttenberg library", | ||
"author": "Rose Fyleman and Thelma Cudlipp Grosvenor", | ||
"publish date": "2019-12-16T00:00:00.000Z", | ||
"sourceFile": "page-4.adoc" | ||
}, | ||
{"route": "/blog/page-5", "sourceFile": "page-5.md"}, | ||
{ | ||
"route": "/blog/test/testing", | ||
"title": "My test sub page", | ||
"author": "Sander Elias", | ||
"publish date": "2019-11-27T00:00:00.000Z", | ||
"published": true, | ||
"description": "This is the second demo page in this sample.", | ||
"slugs": null, | ||
"sourceFile": "testing.md" | ||
}, | ||
{"route": "/user"}, | ||
{"route": "/user/1"}, | ||
{"route": "/user/2"}, | ||
{"route": "/user/1/post/1"}, | ||
{"route": "/user/1/post/2"}, | ||
{"route": "/user/1/post/3"}, | ||
{"route": "/user/1/post/4"}, | ||
{"route": "/user/1/post/5"}, | ||
{"route": "/user/1/post/6"}, | ||
{"route": "/user/1/post/7"}, | ||
{"route": "/user/1/post/8"}, | ||
{"route": "/user/1/post/9"}, | ||
{"route": "/user/1/post/10"}, | ||
{"route": "/user/2/post/11"}, | ||
{"route": "/user/2/post/12"}, | ||
{"route": "/user/2/post/13"}, | ||
{"route": "/user/2/post/14"}, | ||
{"route": "/user/2/post/15"}, | ||
{"route": "/user/2/post/16"}, | ||
{"route": "/user/2/post/17"}, | ||
{"route": "/user/2/post/18"}, | ||
{"route": "/user/2/post/19"}, | ||
{"route": "/user/2/post/20"}, | ||
{"route": "/demo/0"}, | ||
{"route": "/demo/1"}, | ||
{"route": "/demo/2"}, | ||
{"route": "/demo/3"}, | ||
{"route": "/demo/4"}, | ||
{"route": "/slow"}, | ||
{"route": "/manualIdle"}, | ||
{"route": "/"}, | ||
{"route": "/exclude/present"} | ||
] |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,7 @@ exports[`JsonPlugin: test user List Check clean blog index by scully 1`] = ` | |
<link rel=\\"stylesheet\\" href=\\"styles.css\\"><style>[]{display:grid;height:100vh;grid-template-rows:60px 1fr 60px}[] > header[]{display:grid;background-color:#4169e1;color:#f5f5f5;margin:0;padding:0 10px;grid-template-columns:1fr 40px;place-items:center center}footer[] h3[], header[] h1[]{margin:0}[] > footer[]{display:grid;background-color:#4169e1;color:#f5f5f5;margin:0;padding-right:10px;justify-content:right;align-content:center}main[]{background-color:#f5f5f5;color:#040c24;padding:10px}</style><script charset=\\"utf-8\\" src=\\"user-user-module-es2015.js\\"></script><script charset=\\"utf-8\\" src=\\"pagenotfound-pagenotfound-module-es2015.js\\"></script><style></style><script>window['ScullyIO']='generated';</script></head> | ||
<body scully-version=\\"0.0.2\\"> | ||
<app-root class=\\"foo\\" =\\"\\" > Scully demo blog app! <small =\\"\\">rendering inside scully</small></h1><a =\\"\\" href=\\"/home/\\">🏠</a></header><main =\\"\\"><router-outlet =\\"\\"></router-outlet><app-users =\\"\\"><h1 =\\"\\">Users</h1><section =\\"\\"><table =\\"\\"><thead =\\"\\"><tr><th =\\"\\">Id</th><th =\\"\\">Username</th></tr></thead><tbody =\\"\\"><tr =\\"\\"><td =\\"\\">1</td><td =\\"\\"><a =\\"\\" href=\\"/user/1/\\"> Leanne Graham</a></td></tr><tr =\\"\\"><td =\\"\\">2</td><td =\\"\\"><a =\\"\\" href=\\"/user/2/\\"> Ervin Howell</a></td></tr><tr =\\"\\"><td =\\"\\">3</td><td =\\"\\"><a =\\"\\" href=\\"/user/3\\"> Clementine Bauch</a></td></tr><tr =\\"\\"><td =\\"\\">4</td><td =\\"\\"><a =\\"\\" href=\\"/user/4\\"> Patricia Lebsack</a></td></tr><tr =\\"\\"><td =\\"\\">5</td><td =\\"\\"><a =\\"\\" href=\\"/user/5\\"> Chelsey Dietrich</a></td></tr><tr =\\"\\"><td =\\"\\">6</td><td =\\"\\"><a =\\"\\" href=\\"/user/6\\"> Mrs. Dennis Schulist</a></td></tr><tr =\\"\\"><td =\\"\\">7</td><td =\\"\\"><a =\\"\\" href=\\"/user/7\\"> Kurtis Weissnat</a></td></tr><tr =\\"\\"><td =\\"\\">8</td><td =\\"\\"><a =\\"\\" href=\\"/user/8\\"> Nicholas Runolfsdottir V</a></td></tr><tr =\\"\\"><td =\\"\\">9</td><td =\\"\\"><a =\\"\\" href=\\"/user/9\\"> Glenna Reichert</a></td></tr><tr =\\"\\"><td =\\"\\">10</td><td =\\"\\"><a =\\"\\" href=\\"/user/10\\"> Clementina DuBuque</a></td></tr><!----></tbody></table></section><!----></app-users><!----></main><footer =\\"\\"><h3 =\\"\\">Made with ❤️ <strong =\\"\\">@HeroDevs</strong></h3></footer></app-root> | ||
<app-root class=\\"foo\\" =\\"\\" > Scully demo blog app! <small =\\"\\">rendering inside scully</small></h1><a =\\"\\" href=\\"/home/\\">🏠</a></header><main =\\"\\"><router-outlet =\\"\\"></router-outlet><app-users =\\"\\"><h1 =\\"\\">Users</h1><section =\\"\\"><table =\\"\\"><thead =\\"\\"><tr><th =\\"\\">Id</th><th =\\"\\">Username</th></tr></thead><tbody =\\"\\"><tr =\\"\\"><td =\\"\\">1</td><td =\\"\\"><a =\\"\\" href=\\"/user/1?id=1\\"> Leanne Graham</a></td></tr><tr =\\"\\"><td =\\"\\">2</td><td =\\"\\"><a =\\"\\" href=\\"/user/2?id=2\\"> Ervin Howell</a></td></tr><tr =\\"\\"><td =\\"\\">3</td><td =\\"\\"><a =\\"\\" href=\\"/user/3?id=3\\"> Clementine Bauch</a></td></tr><tr =\\"\\"><td =\\"\\">4</td><td =\\"\\"><a =\\"\\" href=\\"/user/4?id=4\\"> Patricia Lebsack</a></td></tr><tr =\\"\\"><td =\\"\\">5</td><td =\\"\\"><a =\\"\\" href=\\"/user/5?id=5\\"> Chelsey Dietrich</a></td></tr><tr =\\"\\"><td =\\"\\">6</td><td =\\"\\"><a =\\"\\" href=\\"/user/6?id=6\\"> Mrs. Dennis Schulist</a></td></tr><tr =\\"\\"><td =\\"\\">7</td><td =\\"\\"><a =\\"\\" href=\\"/user/7?id=7\\"> Kurtis Weissnat</a></td></tr><tr =\\"\\"><td =\\"\\">8</td><td =\\"\\"><a =\\"\\" href=\\"/user/8?id=8\\"> Nicholas Runolfsdottir V</a></td></tr><tr =\\"\\"><td =\\"\\">9</td><td =\\"\\"><a =\\"\\" href=\\"/user/9?id=9\\"> Glenna Reichert</a></td></tr><tr =\\"\\"><td =\\"\\">10</td><td =\\"\\"><a =\\"\\" href=\\"/user/10?id=10\\"> Clementina DuBuque</a></td></tr><!----></tbody></table></section><!----></app-users><!----></main><footer =\\"\\"><h3 =\\"\\">Made with ❤️ <strong =\\"\\">@HeroDevs</strong></h3></footer></app-root> | ||
<script id=\\"ScullyIO-transfer-state\\">window['ScullyIO-transfer-state']=/** ___SCULLY_STATE_START___ */{\\"users\\":[{\\"id\\":1,\\"name\\":\\"Leanne Graham\\",\\"username\\":\\"Bret\\",\\"email\\":\\"[email protected]\\",\\"address\\":{\\"street\\":\\"Kulas Light\\",\\"suite\\":\\"Apt. 556\\",\\"city\\":\\"Gwenborough\\",\\"zipcode\\":\\"92998-3874\\",\\"geo\\":{\\"lat\\":\\"-37.3159\\",\\"lng\\":\\"81.1496\\"}},\\"phone\\":\\"1-770-736-8031 x56442\\",\\"website\\":\\"hildegard.org\\",\\"company\\":{\\"name\\":\\"Romaguera-Crona\\",\\"catchPhrase\\":\\"Multi-layered client-server neural-net\\",\\"bs\\":\\"harness real-time e-markets\\"}},{\\"id\\":2,\\"name\\":\\"Ervin Howell\\",\\"username\\":\\"Antonette\\",\\"email\\":\\"[email protected]\\",\\"address\\":{\\"street\\":\\"Victor Plains\\",\\"suite\\":\\"Suite 879\\",\\"city\\":\\"Wisokyburgh\\",\\"zipcode\\":\\"90566-7771\\",\\"geo\\":{\\"lat\\":\\"-43.9509\\",\\"lng\\":\\"-34.4618\\"}},\\"phone\\":\\"010-692-6593 x09125\\",\\"website\\":\\"anastasia.net\\",\\"company\\":{\\"name\\":\\"Deckow-Crist\\",\\"catchPhrase\\":\\"Proactive didactic contingency\\",\\"bs\\":\\"synergize scalable supply-chains\\"}},{\\"id\\":3,\\"name\\":\\"Clementine Bauch\\",\\"username\\":\\"Samantha\\",\\"email\\":\\"[email protected]\\",\\"address\\":{\\"street\\":\\"Douglas Extension\\",\\"suite\\":\\"Suite 847\\",\\"city\\":\\"McKenziehaven\\",\\"zipcode\\":\\"59590-4157\\",\\"geo\\":{\\"lat\\":\\"-68.6102\\",\\"lng\\":\\"-47.0653\\"}},\\"phone\\":\\"1-463-123-4447\\",\\"website\\":\\"ramiro.info\\",\\"company\\":{\\"name\\":\\"Romaguera-Jacobson\\",\\"catchPhrase\\":\\"Face to face bifurcated interface\\",\\"bs\\":\\"e-enable strategic applications\\"}},{\\"id\\":4,\\"name\\":\\"Patricia Lebsack\\",\\"username\\":\\"Karianne\\",\\"email\\":\\"[email protected]\\",\\"address\\":{\\"street\\":\\"Hoeger Mall\\",\\"suite\\":\\"Apt. 692\\",\\"city\\":\\"South Elvis\\",\\"zipcode\\":\\"53919-4257\\",\\"geo\\":{\\"lat\\":\\"29.4572\\",\\"lng\\":\\"-164.2990\\"}},\\"phone\\":\\"493-170-9623 x156\\",\\"website\\":\\"kale.biz\\",\\"company\\":{\\"name\\":\\"Robel-Corkery\\",\\"catchPhrase\\":\\"Multi-tiered zero tolerance productivity\\",\\"bs\\":\\"transition cutting-edge web services\\"}},{\\"id\\":5,\\"name\\":\\"Chelsey Dietrich\\",\\"username\\":\\"Kamren\\",\\"email\\":\\"[email protected]\\",\\"address\\":{\\"street\\":\\"Skiles Walks\\",\\"suite\\":\\"Suite 351\\",\\"city\\":\\"Roscoeview\\",\\"zipcode\\":\\"33263\\",\\"geo\\":{\\"lat\\":\\"-31.8129\\",\\"lng\\":\\"62.5342\\"}},\\"phone\\":\\"(254)954-1289\\",\\"website\\":\\"demarco.info\\",\\"company\\":{\\"name\\":\\"Keebler LLC\\",\\"catchPhrase\\":\\"User-centric fault-tolerant solution\\",\\"bs\\":\\"revolutionize end-to-end systems\\"}},{\\"id\\":6,\\"name\\":\\"Mrs. Dennis Schulist\\",\\"username\\":\\"Leopoldo_Corkery\\",\\"email\\":\\"[email protected]\\",\\"address\\":{\\"street\\":\\"Norberto Crossing\\",\\"suite\\":\\"Apt. 950\\",\\"city\\":\\"South Christy\\",\\"zipcode\\":\\"23505-1337\\",\\"geo\\":{\\"lat\\":\\"-71.4197\\",\\"lng\\":\\"71.7478\\"}},\\"phone\\":\\"1-477-935-8478 x6430\\",\\"website\\":\\"ola.org\\",\\"company\\":{\\"name\\":\\"Considine-Lockman\\",\\"catchPhrase\\":\\"Synchronised bottom-line interface\\",\\"bs\\":\\"e-enable innovative applications\\"}},{\\"id\\":7,\\"name\\":\\"Kurtis Weissnat\\",\\"username\\":\\"Elwyn.Skiles\\",\\"email\\":\\"[email protected]\\",\\"address\\":{\\"street\\":\\"Rex Trail\\",\\"suite\\":\\"Suite 280\\",\\"city\\":\\"Howemouth\\",\\"zipcode\\":\\"58804-1099\\",\\"geo\\":{\\"lat\\":\\"24.8918\\",\\"lng\\":\\"21.8984\\"}},\\"phone\\":\\"210.067.6132\\",\\"website\\":\\"elvis.io\\",\\"company\\":{\\"name\\":\\"Johns Group\\",\\"catchPhrase\\":\\"Configurable multimedia task-force\\",\\"bs\\":\\"generate enterprise e-tailers\\"}},{\\"id\\":8,\\"name\\":\\"Nicholas Runolfsdottir V\\",\\"username\\":\\"Maxime_Nienow\\",\\"email\\":\\"[email protected]\\",\\"address\\":{\\"street\\":\\"Ellsworth Summit\\",\\"suite\\":\\"Suite 729\\",\\"city\\":\\"Aliyaview\\",\\"zipcode\\":\\"45169\\",\\"geo\\":{\\"lat\\":\\"-14.3990\\",\\"lng\\":\\"-120.7677\\"}},\\"phone\\":\\"586.493.6943 x140\\",\\"website\\":\\"jacynthe.com\\",\\"company\\":{\\"name\\":\\"Abernathy Group\\",\\"catchPhrase\\":\\"Implemented secondary concept\\",\\"bs\\":\\"e-enable extensible e-tailers\\"}},{\\"id\\":9,\\"name\\":\\"Glenna Reichert\\",\\"username\\":\\"Delphine\\",\\"email\\":\\"[email protected]\\",\\"address\\":{\\"street\\":\\"Dayna Park\\",\\"suite\\":\\"Suite 449\\",\\"city\\":\\"Bartholomebury\\",\\"zipcode\\":\\"76495-3109\\",\\"geo\\":{\\"lat\\":\\"24.6463\\",\\"lng\\":\\"-168.8889\\"}},\\"phone\\":\\"(775)976-6794 x41206\\",\\"website\\":\\"conrad.com\\",\\"company\\":{\\"name\\":\\"Yost and Sons\\",\\"catchPhrase\\":\\"Switchable contextually-based project\\",\\"bs\\":\\"aggregate real-time technologies\\"}},{\\"id\\":10,\\"name\\":\\"Clementina DuBuque\\",\\"username\\":\\"Moriah.Stanton\\",\\"email\\":\\"[email protected]\\",\\"address\\":{\\"street\\":\\"Kattie Turnpike\\",\\"suite\\":\\"Suite 198\\",\\"city\\":\\"Lebsackbury\\",\\"zipcode\\":\\"31428-2261\\",\\"geo\\":{\\"lat\\":\\"-38.2386\\",\\"lng\\":\\"57.2232\\"}},\\"phone\\":\\"024-648-3804\\",\\"website\\":\\"ambrose.net\\",\\"company\\":{\\"name\\":\\"Hoeger LLC\\",\\"catchPhrase\\":\\"Centralized empowering task-force\\",\\"bs\\":\\"target end-to-end models\\"}}]}/** ___SCULLY_STATE_END___ */</script><script src=\\"runtime-es2015.js\\" type=\\"module\\"></script><script src=\\"runtime-es5.js\\" nomodule=\\"\\" defer=\\"\\"></script><script src=\\"polyfills-es5.js\\" nomodule=\\"\\" defer=\\"\\"></script><script src=\\"polyfills-es2015.js\\" type=\\"module\\"></script><script src=\\"main-es2015.js\\" type=\\"module\\"></script><script src=\\"main-es5.js\\" nomodule=\\"\\" defer=\\"\\"></script> | ||
</body></html>" | ||
|