UNPKG

@stryker-mutator/core

Version:

The extendable JavaScript mutation testing framework

18 lines (17 loc) 422 B
import { select, confirm, input, checkbox, Separator } from '@inquirer/prompts'; /** * @description Small wrapper around inquire prompts to make it easier to mock in tests */ export const inquire: { select: typeof select; confirm: typeof confirm; input: typeof input; checkbox: typeof checkbox; separator: () => Separator; } = { select, confirm, input, checkbox, separator: () => new Separator(), };