npm install --save-dev start-ava
# or
yarn add --dev start-avaimportStartfrom'start';importreporterfrom'start-pretty-reporter';importfilesfrom'start-files';importwatchfrom'start-watch';importavafrom'start-ava';importtapSpecfrom'tap-spec';conststart=Start(reporter());exportconsttest=()=>start(files('test/**/*.js'),ava('tap',tapSpec));exportconsttdd=()=>start(files(['lib/**/*.js','test/**/*.js']),watch(test));This task relies on array of files and provides the same, see documentation for details.
👉 Note that this task will not work together with start-istanbul.
ava(avaReporter, tapReporter)
avaReporter– name of AVA reporter,'verbose'by defaulttapReporter– optional tap reporter foravaReporter='tap'