|
|
|
|
14
|
run();
|
14
|
run();
|
15
|
|
15
|
|
16
|
function run() {
|
16
|
function run() {
|
17
|
- const paths = _.chain(dirs).map((d) => d === 'e2e' ? `${d}/**/*.[tj]s` : `${d}/**/*.[tj]s*`).join(' ').value();
|
|
|
|
|
17
|
+ const paths = _.chain(dirs).map((d) => d === 'e2e' ? `${d}/**/*.[tj]s` : `${d}/**/*.[tj]sx?`).join(' ').value();
|
18
|
exec.execSync(`tslint ${paths} ${fix} --format verbose`);
|
18
|
exec.execSync(`tslint ${paths} ${fix} --format verbose`);
|
19
|
assertAllTsFilesInSrc();
|
19
|
assertAllTsFilesInSrc();
|
20
|
exec.execSync(`jest --coverage`);
|
20
|
exec.execSync(`jest --coverage`);
|