From 24a2098dd2adf7bcfe4272c66cf105cb0234703f Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Thu, 2 Jul 2026 17:11:05 -0400 Subject: feat(tooling): provision eask via user-local npm install chime and linear-emacs shell out to eask but nothing installed it. The block runs npm install -g --prefix ~/.local as the user after the node tooling, so eask lands on PATH without root. A stowed .npmrc pins the same prefix in dotfiles. VM asserts both. --- scripts/testing/tests/test_packages.py | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'scripts/testing') diff --git a/scripts/testing/tests/test_packages.py b/scripts/testing/tests/test_packages.py index f0d8ff2..74737e2 100644 --- a/scripts/testing/tests/test_packages.py +++ b/scripts/testing/tests/test_packages.py @@ -74,3 +74,13 @@ def test_blueman_not_installed(host): # blueman was retired 2026-07-02 in favor of the dotfiles bt panel; # its reappearance means the desktop_environment step regressed. assert not host.package("blueman").is_installed + + +@pytest.mark.attribution("archsetup") +def test_eask_installed_user_local(host, home): + # Installed via npm -g --prefix ~/.local as the user; chime and + # linear-emacs shell out to it. + f = host.file("%s/.local/bin/eask" % home) + assert f.exists, "eask missing from ~/.local/bin" + npmrc = host.file("%s/.npmrc" % home) + assert npmrc.exists, ".npmrc (user npm prefix) not stowed" -- cgit v1.2.3