Refactor installation process and enhance configuration management; add locale detection and autostart support
This commit is contained in:
@@ -2,10 +2,6 @@ import { test } from "node:test";
|
||||
import assert from "node:assert";
|
||||
import { groups, packages, toDirs } from "../src/packages.js";
|
||||
|
||||
test("toDirs maps a package name to its dir when set", () => {
|
||||
assert.deepStrictEqual(toDirs(["rofi-wayland"]), ["rofi"]);
|
||||
});
|
||||
|
||||
test("toDirs falls back to the package name when no dir is set", () => {
|
||||
assert.deepStrictEqual(toDirs(["waybar", "kitty"]), ["waybar", "kitty"]);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user