The jest object is automatically in scope within every test file. The methods in the jest object help create mocks and let you control Jest's overall behavior. It can also be imported explicitly by via import from '@jest/globals'.| jestjs.io
The Jest philosophy is to work great by default, but sometimes you just need more configuration power.| jestjs.io