Skip to content

Commit

Permalink
change detox to test linting
Browse files Browse the repository at this point in the history
  • Loading branch information
xiongemi committed Aug 6, 2021
1 parent 5a32d58 commit a863823
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions e2e/detox/src/detox.test.ts
Expand Up @@ -21,9 +21,7 @@ describe('Detox', () => {
checkFilesExist(`apps/${appName}-e2e/test-setup.ts`);
checkFilesExist(`apps/${appName}-e2e/src/app.spec.ts`);

const testResults = await runCLIAsync(`test ${appName}`);
expect(testResults.combinedOutput).toContain(
'Test Suites: 2 passed, 2 total'
);
const lintResults = await runCLIAsync(`lint ${appName}-e2e`);
expect(lintResults.combinedOutput).toContain('All files pass linting');
});
});

0 comments on commit a863823

Please sign in to comment.