UNPKG

@sprucelabs/spruce-cli

Version:

Command line interface for building Spruce skills.

29 lines 1.01 kB
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); const AbstractCliTest_1 = __importDefault(require("./AbstractCliTest")); class AbstractErrorTest extends AbstractCliTest_1.default { static get errorTypesFile() { return this.resolveHashSprucePath('errors', 'errors.types.ts'); } static async installErrorFeature(cacheKey) { const fixture = this.FeatureFixture(); const cli = await fixture.installFeatures([ { code: 'skill', options: { name: 'testing errors', description: 'this is also a great test!', }, }, { code: 'error', }, ], cacheKey); return cli; } } exports.default = AbstractErrorTest; //# sourceMappingURL=AbstractErrorTest.js.map