diff options
| author | Craig Jennings <c@cjennings.net> | 2026-07-02 17:11:05 -0400 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-07-02 17:11:05 -0400 |
| commit | 24a2098dd2adf7bcfe4272c66cf105cb0234703f (patch) | |
| tree | 2ed73940e6203187a009bb0d50b421c23e9dda46 /scripts/testing/tests/test_packages.py | |
| parent | 6b7791ccf8195247649914a7ce3cbda9bbcdaf06 (diff) | |
| download | archsetup-24a2098dd2adf7bcfe4272c66cf105cb0234703f.tar.gz archsetup-24a2098dd2adf7bcfe4272c66cf105cb0234703f.zip | |
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.
Diffstat (limited to 'scripts/testing/tests/test_packages.py')
| -rw-r--r-- | scripts/testing/tests/test_packages.py | 10 |
1 files changed, 10 insertions, 0 deletions
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" |
