docusaurus/lib/core/__tests__
Shubham Bansal 1a572757f1 feat: last updated time in docs (#913)
* Adding last updated time for docs

* Making file path general and other suggested changes

* Checking if time returned is null due to absence of git or some other issue

* Adding option to enable/disable update time feature and test-doc

* Adding simple unit tests for getGitUpdateTime()

* nits & rewrote failing test

* consistent test naming

* Adding optional updateEnableTime in documentation

* package-lock & yarn.lock
2018-08-29 21:15:18 +08:00
..
__fixtures__ feat: last updated time in docs (#913) 2018-08-29 21:15:18 +08:00
__snapshots__ fix: truncate blogpost properly with truncate-html (#880) 2018-08-02 15:16:26 +08:00
anchors.test.js ESLintify Part 1 (#837) 2018-07-08 09:13:18 -07:00
toc.test.js Refactor + add more tests (Part 1) (#847) 2018-07-13 11:31:37 -07:00
toSlug.test.js Extract blog post truncation logic and add tests (#640) 2018-05-06 09:15:18 -07:00
utils.test.js feat: last updated time in docs (#913) 2018-08-29 21:15:18 +08:00