forked from angular/angular-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest.ts
More file actions
21 lines (18 loc) · 727 Bytes
/
test.ts
File metadata and controls
21 lines (18 loc) · 727 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// tslint:disable:no-global-tslint-disable file-header
import { ArchitectCommand, ArchitectCommandOptions } from '../models/architect-command';
import { CommandScope, Option } from '../models/command';
export default class TestCommand extends ArchitectCommand {
public readonly name = 'test';
public readonly target = 'test';
public readonly description = 'Run unit tests in existing project.';
public static aliases = ['t'];
public readonly scope = CommandScope.inProject;
public readonly multiTarget = true;
public readonly options: Option[] = [
this.prodOption,
this.configurationOption,
];
public async run(options: ArchitectCommandOptions) {
return this.runArchitectTarget(options);
}
}