test: bin: coverage

This commit is contained in:
coderiaser 2026-03-29 17:00:43 +03:00
parent 6c7709be9c
commit 7e2d2ede98
2 changed files with 11 additions and 1 deletions

View file

@ -28,7 +28,7 @@ export default {
'lint:fresh': () => run('lint', '--fresh'),
'fix:lint': async () => `putout --rulesdir rules --fix . && redlint fix`,
'lint:stream': () => run('lint', '-f stream'),
'test': () => [testEnv, `tape 'test/**/*.{js,mjs}' '{client,static,common,server}/**/*.spec.{js,mjs}' -f fail`],
'test': () => [testEnv, `tape 'test/**/*.js' '{bin,client,static,common,server}/**/*.spec.js' -f fail`],
'test:client': () => `tape 'test/client/**/*.js'`,
'test:server': () => `tape 'test/**/*.js' 'server/**/*.spec.js' 'common/**/*.spec.js'`,
'wisdom': async () => await run(['lint:all', 'build', 'test'], null, {