plugins/neotest/adapters/playwright: temporarily enable telescope when this adapter is used

https://github.com/NixOS/nixpkgs/pull/319314
This commit is contained in:
Gaetan Lepage 2024-06-12 14:48:35 +02:00 committed by Gaétan Lepage
parent 4edfed1075
commit 34d75943ed

View file

@ -48,5 +48,10 @@ let
};
in
{
imports = mapAttrsToList mkAdapter supportedAdapters;
imports = (mapAttrsToList mkAdapter supportedAdapters) ++ [
# TODO: Remove when https://github.com/NixOS/nixpkgs/pull/319314 reaches `nixos-unstable`
(mkIf config.plugins.neotest.adapters.playwright.enable {
plugins.telescope.enable = mkDefault true;
})
];
}