aboutsummaryrefslogtreecommitdiff
path: root/modules/dirvish-config.el
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-05-10 13:31:53 -0500
committerCraig Jennings <c@cjennings.net>2026-05-10 13:31:53 -0500
commitaaa093735e77c887a87722ef306b9442973ce314 (patch)
tree81900c2d9b7897cf2334e5e7a0e61ad89de20e6a /modules/dirvish-config.el
parent9311d07d792452c8ed5abfc01ceb05b814bbf7b1 (diff)
downloaddotemacs-aaa093735e77c887a87722ef306b9442973ce314.tar.gz
dotemacs-aaa093735e77c887a87722ef306b9442973ce314.zip
test(dirvish): cover cj/get-project-root with stubbed APIs
`cj/get-project-root' was already in the right shape (pure dispatch over `projectile-project-root' and `project-current'), but had no tests. Add four covering the four meaningful states: projectile finds a root, projectile returns nil and project.el finds one, projectile errors and the wrapper falls through to project.el, and neither finds anything. The tests stub all three external symbols (`projectile-project-root', `project-current', `project-root') so they exercise the function without a project on disk.
Diffstat (limited to 'modules/dirvish-config.el')
0 files changed, 0 insertions, 0 deletions