fix(core): update

This commit is contained in:
2022-03-11 17:36:27 +01:00
parent 7ee9935a9a
commit 165113f132
7 changed files with 586 additions and 581 deletions

View File

@ -1,6 +1,6 @@
import { tap, expect } from '@pushrocks/tapbundle';
import { tap, expect, expectAsync } from '@pushrocks/tapbundle';
import * as tsn from '../ts/index';
import * as tsbuild from '../ts/index';
let assetfiles: string[] = ['./test/assets/tocompile.ts', './test/assets/tocompile2.ts'];
@ -9,11 +9,11 @@ let assetfiles2 = {
};
tap.test('should convert files from an array with single files to output', async tools => {
tsn.compileFileArray(assetfiles, { outDir: './test/assets/output' });
tsbuild.compileFileArray(assetfiles, { outDir: './test/assets/output' });
});
tap.test('should convert files from an array with single files to output', async tools => {
tsn.compileGlobStringObject(assetfiles2);
tsbuild.compileGlobStringObject(assetfiles2);
});
tap.start();