"Fossies" - the Fresh Open Source Software Archive

Member "angular-cli-8.3.23/tests/legacy-cli/e2e/tests/commands/add/add-material.ts" (15 Jan 2020, 369 Bytes) of package /linux/www/angular-cli-8.3.23.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 { expectFileToMatch, rimraf } from '../../../utils/fs';
    2 import { ng } from '../../../utils/process';
    3 
    4 
    5 export default async function () {
    6   // forcibly remove in case another test doesn't clean itself up
    7   await rimraf('node_modules/@angular/material');
    8 
    9   await ng('add', '@angular/material');
   10   await expectFileToMatch('package.json', /@angular\/material/);
   11 }