mirror of
https://github.com/clinicjs/node-clinic.git
synced 2025-12-08 21:26:08 +00:00
* chore: bump tap version * chore: add v16 to test matrix * chore: update coverage settings to latest tap version * chore: use taprc * chore: support v17 * chore: updade coverage settings
13 lines
337 B
JavaScript
13 lines
337 B
JavaScript
'use strict'
|
|
|
|
const test = require('tap').test
|
|
const cli = require('./cli.js')
|
|
|
|
test('clinic bubbleprof', function (t) {
|
|
cli({}, ['clinic', 'bubbleprof'], function (err, stdout) {
|
|
t.strictSame(err, new Error('process exited with exit code 1'))
|
|
t.ok(/Clinic.js BubbleProf[^\w ]/.test(stdout.split('\n')[1]))
|
|
t.end()
|
|
})
|
|
})
|