* adds a forceexit flag to make sure timeouts don't hang the runner

* Change files
This commit is contained in:
Kenneth Chau 2019-08-26 10:04:33 -07:00 коммит произвёл GitHub
Родитель de4e8cb8da
Коммит 21bddeac51
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
2 изменённых файлов: 10 добавлений и 0 удалений

Просмотреть файл

@ -0,0 +1,8 @@
{
"type": "patch",
"comment": "adds a forceexit flag to make sure timeouts don't hang the runner",
"packageName": "just-scripts",
"email": "kchau@microsoft.com",
"commit": "1eaa0fd3bacc82c58d85dd02c53f3af5aa70eb79",
"date": "2019-08-23T21:22:57.600Z"
}

Просмотреть файл

@ -35,6 +35,8 @@ export function jestTask(options: JestTaskOptions = {}): TaskFunction {
configFile,
'--passWithNoTests',
'--colors',
// This generates a warning from jest CLI, but it can be safely ignored
'--forceExit',
...(options.runInBand ? ['--runInBand'] : []),
...(options.coverage ? ['--coverage'] : []),
...(options.watch ? ['--watch'] : []),