Answers for "jest increase time out"

1

how to increase jest timeout

// jest.config.js
module.exports = {
  // setupTestFrameworkScriptFile has been deprecated in
  // favor of setupFilesAfterEnv in jest 24
  setupFilesAfterEnv: ['./jest.setup.js']
}

// jest.setup.js
jest.setTimeout(30000)
Posted by: Guest on December-18-2019

Code answers related to "Javascript"

Browse Popular Code Answers by Language