fix(core): update
This commit is contained in:
2
test/assets/output/tocompile2.d.ts
vendored
2
test/assets/output/tocompile2.d.ts
vendored
@ -1 +1 @@
|
||||
export declare const anExportedString = "exported string";
|
||||
export declare const anExportedString = 'exported string';
|
||||
|
@ -6,7 +6,7 @@ import * as early from '@pushrocks/early';
|
||||
early.start();
|
||||
early.stop();
|
||||
|
||||
import {anExportedString} from './tocompile2.js';
|
||||
import { anExportedString } from './tocompile2.js';
|
||||
console.log(anExportedString);
|
||||
|
||||
class test2 {
|
||||
|
@ -5,14 +5,14 @@ import * as tsbuild from '../ts/index.js';
|
||||
let assetfiles: string[] = ['./test/assets/tocompile.ts', './test/assets/tocompile2.ts'];
|
||||
|
||||
let assetfiles2 = {
|
||||
'./test/assets/**/!(*.d.ts|*.js|output)': './test/assets/output'
|
||||
'./test/assets/**/!(*.d.ts|*.js|output)': './test/assets/output',
|
||||
};
|
||||
|
||||
tap.test('should convert files from an array with single files to output', async tools => {
|
||||
tap.test('should convert files from an array with single files to output', async (tools) => {
|
||||
tsbuild.compileFileArray(assetfiles, { outDir: './test/assets/output' });
|
||||
});
|
||||
|
||||
tap.test('should convert files from an array with single files to output', async tools => {
|
||||
tap.test('should convert files from an array with single files to output', async (tools) => {
|
||||
tsbuild.compileGlobStringObject(assetfiles2);
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user