# Adding space after a line in ToC

I have been trying to determine way to add space after a section or chapter line in my table of contents. tocloft allows me to add spacing before lines but not after, and this leads to spacing issues at the top of new pages (see this question).

I have tried using \preto and \appto commands, e.g.,

\preto\section{
}
\appto\section{
}


However, \appto causes errors (for reasons explained in another TeX.SX post). I also tried manually adding the ToC line:

\usepackage{nameref}
\makeatletter
\newcommand*{\currentname}{\@currentlabelname}
\makeatother

\setcounter{tocdepth}{0}

\preto\section{
\protect\contentsline{section}{\numberline{\thesection}\currentname}{}
}
}


This also didn't work as it used the previous section name rather than the current section name (since it is called in \preto not \appto). This attempt also causes problems with hyperref.

To add space after a sectional unit entry you can redefine the corresponding \cftXafterpnum command; for example, to add 10pt after chapter entries:

\documentclass{book}
\usepackage{tocloft}

\begin{document}

\tableofcontents
\chapter{Test Chapter}
\section{Test Section}
\section{Test Section}
\section{Test Section}
\chapter{Test Chapter}
\section{Test Section}
\section{Test Section}
\section{Test Section}

\end{document}