docusaurus/v1/lib/server/__tests__
Joel Marcey c78a8b4262 fix: do not hardcode siteConfig path (#1150)
* Fix broken build

Do not hardcode path in require to siteConfig

* Just require instead of loadConfig

* Actually use loadConfig

I think the test may be wrong too.

* refactor & nits

* jest mock to fix test

* fix test
2018-12-08 02:09:25 +08:00
..
__fixtures__ feat: support reference-style linking in documents (#1048) 2018-10-27 12:33:44 +08:00
__snapshots__ fix: #1114 static files in blog/assets is not working (#1143) 2018-12-07 23:58:20 +08:00
blog.test.js fix: do not hardcode siteConfig path (#1150) 2018-12-08 02:09:25 +08:00
docs.test.js fix: do not hardcode siteConfig path (#1150) 2018-12-08 02:09:25 +08:00
liveReloadServer.test.js Move Docusaurus 1 files into directory (#966) 2018-09-18 00:58:07 +08:00
readCategories.test.js fix: change subcategory format (#1026) 2018-10-10 08:33:20 -07:00
readMetadata.test.js feat: Allow modifying docs url prefix (#914) 2018-11-28 15:34:16 +08:00
routing.test.js feat: Allow modifying docs url prefix (#914) 2018-11-28 15:34:16 +08:00
start.test.js Move Docusaurus 1 files into directory (#966) 2018-09-18 00:58:07 +08:00
utils.test.js fix: change subcategory format (#1026) 2018-10-10 08:33:20 -07:00