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 | b9ff12704cb64e93c8275903dbddd70daf9cd99e (patch) | |
| tree | 5abea3aea03448a467ac724b0f8cd9c579223836 /scripts | |
| parent | ca59dcb2717d1f32200e3d8c87e136abe3572c6e (diff) | |
| download | archsetup-b9ff12704cb64e93c8275903dbddd70daf9cd99e.tar.gz archsetup-b9ff12704cb64e93c8275903dbddd70daf9cd99e.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')
| -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" |
