source: trip-planner-front/node_modules/@angular-devkit/architect/testing/test-project-host.d.ts@ 59329aa

Last change on this file since 59329aa was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 1.1 KB
RevLine 
[6a3a178]1/**
2 * @license
3 * Copyright Google LLC All Rights Reserved.
4 *
5 * Use of this source code is governed by an MIT-style license that can be
6 * found in the LICENSE file at https://angular.io/license
7 */
8/// <reference types="node" />
9import { Path, PathFragment, virtualFs } from '@angular-devkit/core';
10import { NodeJsSyncHost } from '@angular-devkit/core/node';
11import { Stats } from 'fs';
12import { Observable } from 'rxjs';
13/**
14 * @deprecated
15 */
16export declare class TestProjectHost extends NodeJsSyncHost {
17 protected _templateRoot: Path;
18 private _currentRoot;
19 private _scopedSyncHost;
20 constructor(_templateRoot: Path);
21 root(): Path;
22 scopedSync(): virtualFs.SyncDelegateHost<Stats>;
23 initialize(): Observable<void>;
24 restore(): Observable<void>;
25 writeMultipleFiles(files: {
26 [path: string]: string | ArrayBufferLike | Buffer;
27 }): void;
28 replaceInFile(path: string, match: RegExp | string, replacement: string): void;
29 appendToFile(path: string, str: string): void;
30 fileMatchExists(dir: string, regex: RegExp): PathFragment | undefined;
31 copyFile(from: string, to: string): void;
32 private findUniqueFolderPath;
33}
Note: See TracBrowser for help on using the repository browser.