fix(core): update

This commit is contained in:
2026-02-03 16:59:32 +00:00
parent 826f3a6c63
commit 0daae0bd07
18 changed files with 8463 additions and 94 deletions

14
test/test.node.ts Normal file
View File

@@ -0,0 +1,14 @@
import { expect, tap } from '@git.zone/tstest/tapbundle';
import * as tools from '../ts/tools.install.js';
tap.test('should have install function exported', async () => {
expect(typeof tools.install).toEqual('function');
});
tap.test('should handle unknown package set', async () => {
// This will just log a warning, not throw
await tools.install('unknown');
});
export default tap.start();

View File

@@ -1,9 +0,0 @@
import { expect, tap } from '@pushrocks/tapbundle';
import * as tools from '../ts/tools.install';
tap.test("should install default list globally when parsed 'default' as argument", async () => {
await tools.install('default');
});
tap.start();