mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 18:55:26 +00:00
feature(madrun) disable web workers, while testing
This commit is contained in:
parent
7d5b3463cc
commit
63be7c8743
2 changed files with 8 additions and 2 deletions
|
|
@ -36,7 +36,13 @@ module.exports = {
|
|||
'spell': () => 'yaspeller .',
|
||||
'fix:lint': () => run(['lint', 'lint:css'], '--fix'),
|
||||
'lint:progress': () => run('lint', '-f progress'),
|
||||
'test': () => `tape 'test/**/*.js' '{client,static,common,server}/**/*.spec.js'`,
|
||||
'test': () => {
|
||||
const env = 'THREAD_IT_COUNT=0';
|
||||
const cmd = 'tape';
|
||||
const names = `'test/**/*.js' '{client,static,common,server}/**/*.spec.js'`;
|
||||
|
||||
return `${env} ${cmd} ${names}`;
|
||||
},
|
||||
'test:client': () => `tape 'test/client/**/*.js`,
|
||||
'test:server': () => `tape 'test/**/*.js' 'server/**/*.spec.js' 'common/**/*.spec.js'`,
|
||||
'wisdom': () => run(['lint:all', 'build', 'test']),
|
||||
|
|
|
|||
|
|
@ -154,7 +154,7 @@
|
|||
"socket.io-client": "^2.1.1",
|
||||
"squad": "^3.0.0",
|
||||
"table": "^5.0.2",
|
||||
"thread-it": "^1.0.1",
|
||||
"thread-it": "^1.1.0",
|
||||
"try-catch": "^2.0.0",
|
||||
"try-to-catch": "^1.0.2",
|
||||
"tryrequire": "^2.0.1",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue