refactor: adjust process.env.CI

This commit is contained in:
Clark Du 2018-03-19 14:37:19 +08:00
parent cfb44e7df5
commit eace48fb8c
No known key found for this signature in database
GPG Key ID: D0E5986AF78B86D9

View File

@ -49,7 +49,7 @@ for (let fixture of fixtures) {
}
const options = {
renderer: process.env.CI === true ? 'silent' : 'default',
renderer: process.env.CI ? 'silent' : 'default',
nonTTYRenderer: 'silent',
concurrent: Math.min(4, cpus().length)
}