📜  如何增加笑话超时 - 任何代码示例

📅  最后修改于: 2022-03-11 14:58:04.078000             🧑  作者: Mango

代码示例1
// 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)