1 | "use strict";
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 | const platform_1 = require("@kano/kit-app-shell-core/lib/util/platform");
|
4 | const test_1 = require("@kano/kit-app-shell-core/lib/test");
|
5 | const argv_1 = require("./argv");
|
6 | function runTest(argv, platformId, command) {
|
7 | return platform_1.loadPlatformKey(platformId, 'test/get-builder')
|
8 | .then((getBuilder) => {
|
9 | return argv_1.agregateArgv(argv, platformId, command)
|
10 | .then((opts) => argv_1.addConfig(opts))
|
11 | .then((opts) => test_1.test({ getBuilder }, opts));
|
12 | });
|
13 | }
|
14 | exports.default = runTest;
|
15 |
|
\ | No newline at end of file |