UNPKG

641 BJavaScriptView Raw
1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3const platform_1 = require("@kano/kit-app-shell-core/lib/util/platform");
4const test_1 = require("@kano/kit-app-shell-core/lib/test");
5const argv_1 = require("./argv");
6function 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}
14exports.default = runTest;
15//# sourceMappingURL=test.js.map
\No newline at end of file