jest describe code example
Example 1: jest timeout
beforeEach(function () {
jest.setTimeout(2000) // ms
});
Example 2: jest it vs test
// In the docs it says:
// it is an alias of test. So they are exactly the same.
// it() -> test()