test-utils icon indicating copy to clipboard operation
test-utils copied to clipboard

The "setup" in the tests is very slow for every rerun

Open enkot opened this issue 3 years ago • 11 comments

Environment

  • Operating System: Linux
  • Node Version: v16.14.2
  • Nuxt Version: 3.0.0-rc.12
  • Nitro Version: 0.6.0
  • Package Manager: [email protected]
  • Builder: vite
  • User Config: -
  • Runtime Modules: -
  • Build Modules: -

Reproduction

https://stackblitz.com/edit/nuxt-framework-zehqm6

Describe the bug

The empty await setup({}) in the tests takes ~4 seconds for every rerun in watch mode in the empty project. Please, check the reproduction, try to run npm test.

Additional context

No response

Logs

No response

enkot avatar Oct 19 '22 09:10 enkot