Files
pyrofetes-frontend/node_modules/ng-zorro-antd/schematics/testing/test-app.js
CHEVALLIER Abel cb235644dc init
2025-11-13 16:23:22 +01:00

24 lines
1.3 KiB
JavaScript

"use strict";
/**
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE
*/
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
step((generator = generator.apply(thisArg, _arguments || [])).next());
});
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.createTestApp = createTestApp;
const test_project_1 = require("./test-project");
/** Create a base app used for testing. */
function createTestApp(runner_1) {
return __awaiter(this, arguments, void 0, function* (runner, appOptions = {}, tree) {
return (0, test_project_1.createTestProject)(runner, 'application', appOptions, tree);
});
}
//# sourceMappingURL=test-app.js.map