docusaurus/lib/core/__tests__
Endilie Yacop Sucipto e9eef39760
Fix & refactor server routing + add tests (#799)
* Fix bad routing regex for sitemap & feed

* add tests for sitemap & feed

* use next middleware function if file nto found

* add pages routing & test

* refactor + add more test for page routing

* extension-less url routing + test

* refactor out requestFile

* add dot routing + test to handle special case like http://localhost:3000/blog/2018/05/27/1.13.0

* exit properly

* add more test for sitemap

* update nits from my phone
2018-06-29 16:15:34 +08:00
..
__fixtures__ Extract blog post truncation logic and add tests (#640) 2018-05-06 09:15:18 -07:00
__snapshots__ Extract blog post truncation logic and add tests (#640) 2018-05-06 09:15:18 -07:00
anchors.test.js Fix anchors erroring when heading is empty (#772) 2018-06-15 21:04:46 -07:00
getTOC.test.js Extract blog post truncation logic and add tests (#640) 2018-05-06 09:15:18 -07:00
routing.test.js Fix & refactor server routing + add tests (#799) 2018-06-29 16:15:34 +08:00
toSlug.test.js Extract blog post truncation logic and add tests (#640) 2018-05-06 09:15:18 -07:00
utils.test.js Extract blog post truncation logic and add tests (#640) 2018-05-06 09:15:18 -07:00