UNPKG

mochapack

Version:
41 lines (40 loc) 1.02 kB
import { MochaOptions } from 'mocha'; import { Configuration } from 'webpack'; import { WebpackMode } from '../parseArgv/webpack/types'; export interface MochaCliOptions { config?: string; exit?: boolean; extension: string[]; file?: string[]; files: string[]; ignore?: string[]; invert?: boolean; package?: string; recursive?: boolean; reporterOption?: any; sort?: boolean; watch?: boolean; watchFiles?: string[]; watchIgnore: string[]; } export interface MochapackMochaOptions { constructor: MochaOptions; cli: MochaCliOptions; } export interface MochapackWebpackOptions { include?: string[]; mode?: WebpackMode; config: Configuration; env?: string; } export interface MochapackSpecificOptions { quiet?: boolean; interactive: boolean; clearTerminal: boolean; glob?: string; } export interface MochapackOptions { mocha: MochapackMochaOptions; webpack: MochapackWebpackOptions; mochapack: MochapackSpecificOptions; }