e2e: run prettier check for newly created app

Co-authored-by: Mike Lewis <mtlewis@users.noreply.github.com>
Signed-off-by: Himanshu Mishra <himanshu@orkohunter.net>
This commit is contained in:
Himanshu Mishra
2021-08-03 10:51:55 +02:00
parent b0b165b9a5
commit e7d9f68678
+8 -1
View File
@@ -232,7 +232,14 @@ async function createApp(
print('Test app created');
for (const cmd of ['install', 'tsc', 'build', 'lint:all', 'test:all']) {
for (const cmd of [
'install',
'tsc',
'build',
'lint:all',
'prettier:check',
'test:all',
]) {
print(`Running 'yarn ${cmd}' in newly created app`);
await runPlain(['yarn', cmd], { cwd: appDir });
}