fix(core): update
This commit is contained in:
14
test/test.node.ts
Normal file
14
test/test.node.ts
Normal 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();
|
||||
Reference in New Issue
Block a user