initial
This commit is contained in:
24
test/test.ts
Normal file
24
test/test.ts
Normal file
@@ -0,0 +1,24 @@
|
||||
import { tap, expect } from '@git.zone/tstest/tapbundle';
|
||||
import * as tsrust from '../ts/index.js';
|
||||
|
||||
tap.test('should export CargoConfig', async () => {
|
||||
expect(tsrust.CargoConfig).toBeTypeOf('function');
|
||||
});
|
||||
|
||||
tap.test('should export CargoRunner', async () => {
|
||||
expect(tsrust.CargoRunner).toBeTypeOf('function');
|
||||
});
|
||||
|
||||
tap.test('should export FsHelpers', async () => {
|
||||
expect(tsrust.FsHelpers).toBeTypeOf('function');
|
||||
});
|
||||
|
||||
tap.test('should export TsRustCli', async () => {
|
||||
expect(tsrust.TsRustCli).toBeTypeOf('function');
|
||||
});
|
||||
|
||||
tap.test('should export runCli', async () => {
|
||||
expect(tsrust.runCli).toBeTypeOf('function');
|
||||
});
|
||||
|
||||
export default tap.start();
|
||||
Reference in New Issue
Block a user