Returns true if test environment has been torn down.
true
if (jest.isEnvironmentTornDown()) { // The Jest environment has been torn down, so stop doing work return;} Copy
if (jest.isEnvironmentTornDown()) { // The Jest environment has been torn down, so stop doing work return;}
Returns
true
if test environment has been torn down.