diff options
Diffstat (limited to 'sandbox/testAppNevena/Front/node_modules/@schematics/angular/utility/test')
6 files changed, 97 insertions, 0 deletions
diff --git a/sandbox/testAppNevena/Front/node_modules/@schematics/angular/utility/test/create-app-module.d.ts b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/utility/test/create-app-module.d.ts new file mode 100644 index 00000000..212c0d42 --- /dev/null +++ b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/utility/test/create-app-module.d.ts @@ -0,0 +1,9 @@ +/** + * @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 { UnitTestTree } from '@angular-devkit/schematics/testing'; +export declare function createAppModule(tree: UnitTestTree, path?: string): UnitTestTree; diff --git a/sandbox/testAppNevena/Front/node_modules/@schematics/angular/utility/test/create-app-module.js b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/utility/test/create-app-module.js new file mode 100644 index 00000000..c74a6a7c --- /dev/null +++ b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/utility/test/create-app-module.js @@ -0,0 +1,31 @@ +"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 }); +exports.createAppModule = void 0; +function createAppModule(tree, path) { + tree.create(path || '/src/app/app.module.ts', ` + import { BrowserModule } from '@angular/platform-browser'; + import { NgModule } from '@angular/core'; + import { AppComponent } from './app.component'; + + @NgModule({ + declarations: [ + AppComponent + ], + imports: [ + BrowserModule + ], + providers: [], + bootstrap: [AppComponent] + }) + export class AppModule { } + `); + return tree; +} +exports.createAppModule = createAppModule; diff --git a/sandbox/testAppNevena/Front/node_modules/@schematics/angular/utility/test/get-file-content.d.ts b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/utility/test/get-file-content.d.ts new file mode 100644 index 00000000..467f4379 --- /dev/null +++ b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/utility/test/get-file-content.d.ts @@ -0,0 +1,9 @@ +/** + * @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 { Tree } from '@angular-devkit/schematics'; +export declare function getFileContent(tree: Tree, path: string): string; diff --git a/sandbox/testAppNevena/Front/node_modules/@schematics/angular/utility/test/get-file-content.js b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/utility/test/get-file-content.js new file mode 100644 index 00000000..11e14d8c --- /dev/null +++ b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/utility/test/get-file-content.js @@ -0,0 +1,18 @@ +"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 }); +exports.getFileContent = void 0; +function getFileContent(tree, path) { + const fileEntry = tree.get(path); + if (!fileEntry) { + throw new Error(`The file (${path}) does not exist.`); + } + return fileEntry.content.toString(); +} +exports.getFileContent = getFileContent; diff --git a/sandbox/testAppNevena/Front/node_modules/@schematics/angular/utility/test/index.d.ts b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/utility/test/index.d.ts new file mode 100644 index 00000000..a05d72b6 --- /dev/null +++ b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/utility/test/index.d.ts @@ -0,0 +1,9 @@ +/** + * @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 + */ +export * from './create-app-module'; +export * from './get-file-content'; diff --git a/sandbox/testAppNevena/Front/node_modules/@schematics/angular/utility/test/index.js b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/utility/test/index.js new file mode 100644 index 00000000..13c15ace --- /dev/null +++ b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/utility/test/index.js @@ -0,0 +1,21 @@ +"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 + */ +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __exportStar = (this && this.__exportStar) || function(m, exports) { + for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); +}; +Object.defineProperty(exports, "__esModule", { value: true }); +__exportStar(require("./create-app-module"), exports); +__exportStar(require("./get-file-content"), exports); |