test: add test for strict workspace

This commit is contained in:
Alan Agius 2020-01-16 11:03:55 +01:00 committed by Douglas Parker
parent bcfccc93f8
commit 43e43bfacb
2 changed files with 7 additions and 10 deletions

View File

@ -1,10 +0,0 @@
import {updateTsConfig} from '../../utils/project';
import {ng} from '../../utils/process';
export default function() {
return updateTsConfig(json => {
json['compilerOptions']['noImplicitAny'] = true;
})
.then(() => ng('build'));
}

View File

@ -0,0 +1,7 @@
import {ng} from '../../utils/process';
import { createProject } from '../../utils/project';
export default async function() {
await createProject('strict-workspace-test-project', '--strict');
await ng('build');
}