diff options
Diffstat (limited to 'sandbox/testAppNevena/Front/node_modules/@schematics/angular/e2e')
10 files changed, 0 insertions, 216 deletions
| diff --git a/sandbox/testAppNevena/Front/node_modules/@schematics/angular/e2e/e2e-long.md b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/e2e/e2e-long.md deleted file mode 100644 index 13c83bd3..00000000 --- a/sandbox/testAppNevena/Front/node_modules/@schematics/angular/e2e/e2e-long.md +++ /dev/null @@ -1,2 +0,0 @@ -The e2e tests are created in a separate app in the `projects` folder of the workspace, -next to the project being tested. diff --git a/sandbox/testAppNevena/Front/node_modules/@schematics/angular/e2e/files/protractor.conf.js.template b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/e2e/files/protractor.conf.js.template deleted file mode 100644 index 361e7f0c..00000000 --- a/sandbox/testAppNevena/Front/node_modules/@schematics/angular/e2e/files/protractor.conf.js.template +++ /dev/null @@ -1,37 +0,0 @@ -// @ts-check -// Protractor configuration file, see link for more information -// https://github.com/angular/protractor/blob/master/lib/config.ts - -const { SpecReporter, StacktraceOption } = require('jasmine-spec-reporter'); - -/** - * @type { import("protractor").Config } - */ -exports.config = { -  allScriptsTimeout: 11000, -  specs: [ -    './src/**/*.e2e-spec.ts' -  ], -  capabilities: { -    browserName: 'chrome' -  }, -  directConnect: true, -  SELENIUM_PROMISE_MANAGER: false, -  baseUrl: 'http://localhost:4200/', -  framework: 'jasmine', -  jasmineNodeOpts: { -    showColors: true, -    defaultTimeoutInterval: 30000, -    print: function() {} -  }, -  onPrepare() { -    require('ts-node').register({ -      project: require('path').join(__dirname, './tsconfig.json') -    }); -    jasmine.getEnv().addReporter(new SpecReporter({ -      spec: { -        displayStacktrace: StacktraceOption.PRETTY -      } -    })); -  } -};
\ No newline at end of file diff --git a/sandbox/testAppNevena/Front/node_modules/@schematics/angular/e2e/files/src/app.e2e-spec.ts.template b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/e2e/files/src/app.e2e-spec.ts.template deleted file mode 100644 index a6cfbf93..00000000 --- a/sandbox/testAppNevena/Front/node_modules/@schematics/angular/e2e/files/src/app.e2e-spec.ts.template +++ /dev/null @@ -1,23 +0,0 @@ -import { browser, logging } from 'protractor'; -import { AppPage } from './app.po'; - -describe('workspace-project App', () => { -  let page: AppPage; - -  beforeEach(() => { -    page = new AppPage(); -  }); - -  it('should display welcome message', async () => { -    await page.navigateTo(); -    expect(await page.getTitleText()).toEqual('<%= relatedAppName %> app is running!'); -  }); - -  afterEach(async () => { -    // Assert that there are no errors emitted from the browser -    const logs = await browser.manage().logs().get(logging.Type.BROWSER); -    expect(logs).not.toContain(jasmine.objectContaining({ -      level: logging.Level.SEVERE, -    } as logging.Entry)); -  }); -}); diff --git a/sandbox/testAppNevena/Front/node_modules/@schematics/angular/e2e/files/src/app.po.ts.template b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/e2e/files/src/app.po.ts.template deleted file mode 100644 index 16143fc9..00000000 --- a/sandbox/testAppNevena/Front/node_modules/@schematics/angular/e2e/files/src/app.po.ts.template +++ /dev/null @@ -1,11 +0,0 @@ -import { browser, by, element } from 'protractor'; - -export class AppPage { -  async navigateTo(): Promise<unknown> { -    return browser.get(browser.baseUrl); -  } - -  async getTitleText(): Promise<string> { -    return element(by.css('<%= rootSelector %> .content span')).getText(); -  } -} diff --git a/sandbox/testAppNevena/Front/node_modules/@schematics/angular/e2e/files/tsconfig.json.template b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/e2e/files/tsconfig.json.template deleted file mode 100644 index 0286f50c..00000000 --- a/sandbox/testAppNevena/Front/node_modules/@schematics/angular/e2e/files/tsconfig.json.template +++ /dev/null @@ -1,13 +0,0 @@ -/* To learn more about this file see: https://angular.io/config/tsconfig. */ -{ -  "extends": "<%= relativePathToWorkspaceRoot %>/tsconfig.json", -  "compilerOptions": { -    "outDir": "<%= relativePathToWorkspaceRoot %>/out-tsc/e2e", -    "module": "commonjs", -    "target": "es2019", -    "types": [ -      "jasmine", -      "node" -    ] -  } -} diff --git a/sandbox/testAppNevena/Front/node_modules/@schematics/angular/e2e/index.d.ts b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/e2e/index.d.ts deleted file mode 100644 index d7612bb4..00000000 --- a/sandbox/testAppNevena/Front/node_modules/@schematics/angular/e2e/index.d.ts +++ /dev/null @@ -1,10 +0,0 @@ -/** - * @license - * Copyright Google LLC All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -import { Rule } from '@angular-devkit/schematics'; -import { Schema as E2eOptions } from './schema'; -export default function (options: E2eOptions): Rule; diff --git a/sandbox/testAppNevena/Front/node_modules/@schematics/angular/e2e/index.js b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/e2e/index.js deleted file mode 100644 index aa1104c8..00000000 --- a/sandbox/testAppNevena/Front/node_modules/@schematics/angular/e2e/index.js +++ /dev/null @@ -1,82 +0,0 @@ -"use strict"; -/** - * @license - * Copyright Google LLC All Rights Reserved. - * - * Use of this source code is governed by an MIT-style license that can be - * found in the LICENSE file at https://angular.io/license - */ -Object.defineProperty(exports, "__esModule", { value: true }); -const core_1 = require("@angular-devkit/core"); -const schematics_1 = require("@angular-devkit/schematics"); -const dependencies_1 = require("../utility/dependencies"); -const json_file_1 = require("../utility/json-file"); -const paths_1 = require("../utility/paths"); -const workspace_1 = require("../utility/workspace"); -const workspace_models_1 = require("../utility/workspace-models"); -function addScriptsToPackageJson() { -    return (host) => { -        const pkgJson = new json_file_1.JSONFile(host, 'package.json'); -        const e2eScriptPath = ['scripts', 'e2e']; -        if (!pkgJson.get(e2eScriptPath)) { -            pkgJson.modify(e2eScriptPath, 'ng e2e', false); -        } -    }; -} -function default_1(options) { -    return async (host) => { -        const appProject = options.relatedAppName; -        const workspace = await (0, workspace_1.getWorkspace)(host); -        const project = workspace.projects.get(appProject); -        if (!project) { -            throw new schematics_1.SchematicsException(`Project name "${appProject}" doesn't not exist.`); -        } -        const root = (0, core_1.join)((0, core_1.normalize)(project.root), 'e2e'); -        project.targets.add({ -            name: 'e2e', -            builder: workspace_models_1.Builders.Protractor, -            defaultConfiguration: 'development', -            options: { -                protractorConfig: `${root}/protractor.conf.js`, -            }, -            configurations: { -                production: { -                    devServerTarget: `${options.relatedAppName}:serve:production`, -                }, -                development: { -                    devServerTarget: `${options.relatedAppName}:serve:development`, -                }, -            }, -        }); -        return (0, schematics_1.chain)([ -            (0, workspace_1.updateWorkspace)(workspace), -            (0, schematics_1.mergeWith)((0, schematics_1.apply)((0, schematics_1.url)('./files'), [ -                (0, schematics_1.applyTemplates)({ -                    utils: core_1.strings, -                    ...options, -                    relativePathToWorkspaceRoot: (0, paths_1.relativePathToWorkspaceRoot)(root), -                }), -                (0, schematics_1.move)(root), -            ])), -            (host) => [ -                { -                    type: dependencies_1.NodeDependencyType.Dev, -                    name: 'protractor', -                    version: '~7.0.0', -                }, -                { -                    type: dependencies_1.NodeDependencyType.Dev, -                    name: 'jasmine-spec-reporter', -                    version: '~7.0.0', -                }, -                { -                    type: dependencies_1.NodeDependencyType.Dev, -                    name: 'ts-node', -                    version: '~9.1.1', -                }, -            ].forEach((dep) => (0, dependencies_1.addPackageJsonDependency)(host, dep)), -            addScriptsToPackageJson(), -        ]); -    }; -} -exports.default = default_1; diff --git a/sandbox/testAppNevena/Front/node_modules/@schematics/angular/e2e/schema.d.ts b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/e2e/schema.d.ts deleted file mode 100644 index c2081a39..00000000 --- a/sandbox/testAppNevena/Front/node_modules/@schematics/angular/e2e/schema.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -/** - * Generates a new, generic end-to-end test definition for the given or default project. - */ -export interface Schema { -    /** -     * The name of the app being tested. -     */ -    relatedAppName: string; -    /** -     * The HTML selector for the root component of the test app. -     */ -    rootSelector?: string; -} diff --git a/sandbox/testAppNevena/Front/node_modules/@schematics/angular/e2e/schema.js b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/e2e/schema.js deleted file mode 100644 index 4fb6d3d1..00000000 --- a/sandbox/testAppNevena/Front/node_modules/@schematics/angular/e2e/schema.js +++ /dev/null @@ -1,4 +0,0 @@ -"use strict"; -// THIS FILE IS AUTOMATICALLY GENERATED. TO UPDATE THIS FILE YOU NEED TO CHANGE THE -// CORRESPONDING JSON SCHEMA FILE, THEN RUN devkit-admin build (or bazel build ...). -Object.defineProperty(exports, "__esModule", { value: true }); diff --git a/sandbox/testAppNevena/Front/node_modules/@schematics/angular/e2e/schema.json b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/e2e/schema.json deleted file mode 100644 index 185795e6..00000000 --- a/sandbox/testAppNevena/Front/node_modules/@schematics/angular/e2e/schema.json +++ /dev/null @@ -1,21 +0,0 @@ -{ -  "$schema": "http://json-schema.org/draft-07/schema", -  "$id": "SchematicsAngularE2eApp", -  "title": "Angular e2e Application Options Schema", -  "type": "object", -  "additionalProperties": false, -  "description": "Generates a new, generic end-to-end test definition for the given or default project.", -  "long-description": "e2e-long.md", -  "properties": { -    "rootSelector": { -      "description": "The HTML selector for the root component of the test app.", -      "type": "string", -      "default": "app-root" -    }, -    "relatedAppName": { -      "description": "The name of the app being tested.", -      "type": "string" -    } -  }, -  "required": ["relatedAppName"] -} | 
