15 lines
402 B
TypeScript
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();
|