@theia-extension-tester/tests
Version:
Tests for theia-extension-tester package.
22 lines • 716 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const theia_extension_tester_1 = require("theia-extension-tester");
process.env['THEIA_EXPECTED_WORKBENCH_PATH'] = '/projects';
if (process.env['CHE_DEVFILE_URL'] === undefined) {
throw new Error('CHE_DEVFILE_URL is undefined');
}
const tester = new theia_extension_tester_1.CheExTester({
url: process.env['CHE_URL'],
tests: process.argv.slice(2),
devfile: process.env['CHE_DEVFILE_URL'],
mocha: {
bail: false
},
timeouts: {
implicit: 15000,
pageLoad: 240000
},
clean: true
});
tester.runTests().then((code) => process.exitCode = code);
//# sourceMappingURL=che.runner.api.js.map