Last change
on this file since b738035 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
1.1 KB
|
Line | |
---|
1 | "use strict";
|
---|
2 | /**
|
---|
3 | * @license
|
---|
4 | * Copyright Google LLC All Rights Reserved.
|
---|
5 | *
|
---|
6 | * Use of this source code is governed by an MIT-style license that can be
|
---|
7 | * found in the LICENSE file at https://angular.io/license
|
---|
8 | */
|
---|
9 | Object.defineProperty(exports, "__esModule", { value: true });
|
---|
10 | exports.E2eCommand = void 0;
|
---|
11 | const architect_command_1 = require("../models/architect-command");
|
---|
12 | class E2eCommand extends architect_command_1.ArchitectCommand {
|
---|
13 | constructor() {
|
---|
14 | super(...arguments);
|
---|
15 | this.target = 'e2e';
|
---|
16 | this.multiTarget = true;
|
---|
17 | this.missingTargetError = `
|
---|
18 | Cannot find "e2e" target for the specified project.
|
---|
19 |
|
---|
20 | You should add a package that implements end-to-end testing capabilities.
|
---|
21 |
|
---|
22 | For example:
|
---|
23 | Cypress: ng add @cypress/schematic
|
---|
24 | Nightwatch: ng add @nightwatch/schematics
|
---|
25 | WebdriverIO: ng add @wdio/schematics
|
---|
26 |
|
---|
27 | More options will be added to the list as they become available.
|
---|
28 | `;
|
---|
29 | }
|
---|
30 | async initialize(options) {
|
---|
31 | if (!options.help) {
|
---|
32 | return super.initialize(options);
|
---|
33 | }
|
---|
34 | }
|
---|
35 | }
|
---|
36 | exports.E2eCommand = E2eCommand;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.