mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 02:35:49 +00:00
fix(madrun) client test command: fix test:client command (#260)
This commit is contained in:
parent
d0e2b83b54
commit
c44b1f66ee
1 changed files with 2 additions and 3 deletions
|
|
@ -42,11 +42,11 @@ module.exports = {
|
|||
'test:base': () => {
|
||||
const cmd = 'tape';
|
||||
const names = `'test/**/*.js' '{client,static,common,server}/**/*.spec.js'`;
|
||||
|
||||
|
||||
return `${cmd} ${names}`;
|
||||
},
|
||||
'test': () => `${env} ${run('test:base')}`,
|
||||
'test:client': () => `tape 'test/client/**/*.js`,
|
||||
'test:client': () => `tape 'test/client/**/*.js'`,
|
||||
'test:server': () => `tape 'test/**/*.js' 'server/**/*.spec.js' 'common/**/*.spec.js'`,
|
||||
'wisdom': () => run(['lint:all', 'build', 'test']),
|
||||
'wisdom:type': () => 'bin/release.js',
|
||||
|
|
@ -96,4 +96,3 @@ module.exports = {
|
|||
'heroku-postbuild': () => run('6to5:client'),
|
||||
'putout': () => 'putout bin client static server common test .cloudcmd.menu.js',
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue