JEST 8

[ScreenSharing] Black-box Testing vs White-box Testing > Make it Functional

For Every new ticket git checkout -b [name of the branch] - Make pull requests - Make a new branch See Commit History Refactor to do it in a functional way. Persisting state to the module Global Map Instead of making state >> state relative to its state (Make them functional) the entire object just depends on the input. remove global variables functional testings (Knows what's passed) make them ..

[Node.js] Jest worker encountered 4 child process exceptions, exceeding retry limit

Jest worker encountered 4 child process exceptions, exceeding retry limit If you see this kind of message in your Console, it means that it has to be done with Async and await. In my case.. describe('InputSchema when validated', () => { it('should be a valid schema', async () => { expect(Joi.isSchema(InputSchema)).toBe(true) InputSchema.validateAsync(mockValidInput) InputSchema.validateAsync(moc..

Node.js/Jest 2022.04.07