зеркало из https://github.com/microsoft/just.git
Jest forceExit (#211)
* adds a forceexit flag to make sure timeouts don't hang the runner * Change files
This commit is contained in:
Родитель
de4e8cb8da
Коммит
21bddeac51
|
@ -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'] : []),
|
||||
|
|
Загрузка…
Ссылка в новой задаче