tsbundle/test/test.ts

16 lines
436 B
TypeScript
Raw Normal View History

2019-04-20 17:59:33 +00:00
import { expect, tap } from '@pushrocks/tapbundle';
import * as tsbundle from '../ts/index';
2021-07-22 19:55:08 +00:00
import * as path from 'path';
tap.skip.test('first test', async () => {
2019-10-12 13:55:37 +00:00
await tsbundle.runCli();
2019-04-20 17:59:33 +00:00
});
2021-07-22 19:55:08 +00:00
tap.test('should run a custom function', async () => {
const tsbundleInstance = new tsbundle.TsBundle();
await tsbundleInstance.buildProduction(process.cwd(), './test/ts_web/index.ts', './test/dist_manual/index.js')
})
2019-04-20 17:59:33 +00:00
tap.start();