Answers for "async callback was not invoked jest"

1

jest Async callback was not invoked within the 5000ms timeout specified by jest

// 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 "async callback was not invoked jest"

Code answers related to "Javascript"

Browse Popular Code Answers by Language