Files
tsrust/test/test.ts
2026-02-09 09:32:20 +00:00

25 lines
661 B
TypeScript

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