UNPKG

voxa-cli

Version:
24 lines (20 loc) 526 B
import * as mime from "alexa-mime"; import * as _ from "lodash"; import * as nock from "nock"; import * as path from "path"; import * as simple from "simple-mock"; import { alexaSkill } from "../src/app"; import * as views from "../src/app/views.json"; const describeWrapper = { clear: () => { simple.restore(); nock.cleanAll(); } }; mime( { handler: alexaSkill.lambda() }, views.en.translation, path.join(__dirname, "use-cases"), path.join(__dirname, "..", "reports", "simulate"), describeWrapper );