The default environment in Jest is a Node.js environment. If you are building a web app, you can use a browser-like environment through jsdom instead. By adding ...
確定! 回上一頁