1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
|
Description: disable testing
Author: Julien Puydt
Forwarded: Debian-specific
--- a/build.ts
+++ b/build.ts
@@ -2,7 +2,7 @@
import * as path from 'path';
import { FLOW_FILENAME, TYPESCRIPT_FILENAME, writeFileAsync } from './utils';
-import { runCLI } from 'jest';
+//import { runCLI } from 'jest';
if (process.argv.includes('--start')) {
trigger()
@@ -41,8 +41,8 @@
const [flow, typescript] = await Promise.all([unformattedFlow, unformattedTypescript]);
console.info(`Writing files...`);
await Promise.all([writeFileAsync(FLOW_FILENAME, flow), writeFileAsync(TYPESCRIPT_FILENAME, typescript)]);
- console.info('Testing...');
- await testing();
+ //console.info('Testing...');
+ //await testing();
}
async function create() {
@@ -57,6 +57,6 @@
return { unformattedFlow: await generateFlow(), unformattedTypescript: await generateTypescript() };
}
-function testing() {
- return runCLI({ testMatch: ['**/__tests__/dist.*.ts'] } as any, [__dirname]);
-}
+//function testing() {
+// return runCLI({ testMatch: ['**/__tests__/dist.*.ts'] } as any, [__dirname]);
+//}
|