Skip to content

Commit f2e6840

Browse files
committed
test: add e2e test for dry run
1 parent be7c9b1 commit f2e6840

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
import {join} from 'path';
2+
import {ng} from '../../../utils/process';
3+
import {expectGitToBeClean} from '../../../utils/git';
4+
5+
6+
export default function() {
7+
return ng('generate', 'service', 'test-service', '--module', 'app.module.ts', '--dry-run')
8+
.then(() => expectGitToBeClean());
9+
}

0 commit comments

Comments
 (0)