initial release of @git.zone/tsdeno - deno compile wrapper that strips package.json to prevent devDependency bloat
This commit is contained in:
14
test/test.ts
Normal file
14
test/test.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
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();
|
||||
Reference in New Issue
Block a user