UNPKG

@sprucelabs/spruce-cli

Version:

Command line interface for building Spruce skills.

59 lines 1.89 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const schema_1 = require("@sprucelabs/schema"); exports.default = (0, schema_1.buildSchema)({ id: 'testOptions', name: 'Test skill', description: 'Test your might! 💪', fields: { shouldReportWhileRunning: { type: 'boolean', label: 'Report while running', hint: 'Should I output the test results while they are running?', defaultValue: true, }, pattern: { type: 'text', label: 'Pattern', hint: `I'll filter all tests that match this pattern`, }, inspect: { type: 'number', label: 'Inspect', hint: `Pass --inspect related args to test process.`, }, shouldHoldAtStart: { type: 'boolean', label: 'Should wait for manual start?', defaultValue: false, }, shouldReturnImmediately: { type: 'boolean', label: 'Wait until tests are finished', isPrivate: true, defaultValue: false, hint: 'For testing. Returns immediately after executing test so the running process can be managed programatically.', }, watchMode: { type: 'select', label: 'Watch', options: { choices: [ { value: 'off', label: 'Off', }, { value: 'standard', label: 'Standard', }, { value: 'smart', label: 'Smart', }, ], }, }, }, }); //# sourceMappingURL=testOptions.builder.js.map