Compilation database does not include path to `unity.h` for tests

I use pio run -t compiledb to generate a compilation database that clangd can utilise. However, I noticed that the generated database does not include the path to unity.h and hence I get linter errors in my editor (neovim) whenever I try to include unity.h.

How do I ensure that this doesn’t happen?

Please file an issue in GitHub - platformio/platformio-core: Your Gateway to Embedded Software Development Excellence 👽.