Files
tsdeno/test/test.ts

15 lines
434 B
TypeScript

import { tap, expect } from '@git.zone/tstest/tapbundle';
import { TsDeno } from '../ts/tsdeno.classes.tsdeno.js';
tap.test('should create TsDeno instance', async () => {
const tsDeno = new TsDeno('/tmp');
expect(tsDeno.cwd).toEqual('/tmp');
});
tap.test('should create TsDeno instance with default cwd', async () => {
const tsDeno = new TsDeno();
expect(tsDeno.cwd).toEqual(process.cwd());
});
export default tap.start();