Files
tools/test/test.node.ts
2026-02-03 16:59:32 +00:00

15 lines
402 B
TypeScript

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();