"Fossies" - the Fresh Open Source Software Archive

Member "angular-cli-15.2.4/tests/legacy-cli/e2e/tests/commands/add/add.ts" (16 Mar 2023, 439 Bytes) of package /linux/www/angular-cli-15.2.4.tar.gz:

As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) TypeScript source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file.

    1 import { expectFileToExist, expectFileToMatch, rimraf } from '../../../utils/fs';
    2 import { ng } from '../../../utils/process';
    4 export default async function () {
    5   await ng('add', '@angular-devkit-tests/ng-add-simple', '--skip-confirmation');
    6   await expectFileToMatch('package.json', /@angular-devkit-tests\/ng-add-simple/);
    7   await expectFileToExist('ng-add-test');
    8   await rimraf('node_modules/@angular-devkit-tests/ng-add-simple');
    9 }