Files
home-manager/tests/modules/programs/npm/no-settings.nix
Austin Horstman 74b0e97937 statix: enable empty_pattern
Enable statix's empty_pattern rule and apply its auto-fixes across the affected modules and tests.
2026-04-08 16:00:28 -05:00

16 lines
332 B
Nix

{
programs.npm = {
enable = true;
settings = { };
};
test.stubs.nodejs = { };
nmt.script = ''
assertPathNotExists home-files/.npmrc
assertFileExists home-path/etc/profile.d/hm-session-vars.sh
assertFileNotRegex home-path/etc/profile.d/hm-session-vars.sh \
"export NPM_CONFIG_USERCONFIG="
'';
}