I think I setup something wrong. I created the project using Vite and using this template.
Steps to reproduce
- Set up an
async test
- Try to run test with
jest command
Expected Behavior
Tests should run fine.
Actual Behavior
This error. ReferenceError: regeneratorRuntime
Note
I tried to use babel and add configuration file and tried to install regenerator-runtime. They do nothing.
Edit 1: I need to import regenerator-runtime manually. Actually, I expect that it should work without manual import.
I think I setup something wrong. I created the project using Vite and using this template.
Steps to reproduce
asynctestjestcommandExpected Behavior
Tests should run fine.
Actual Behavior
This error. ReferenceError: regeneratorRuntime
Note
I tried to use babel and add configuration file and tried to install
regenerator-runtime. They do nothing.Edit 1: I need to import
regenerator-runtimemanually. Actually, I expect that it should work without manual import.