Using "table" in method it.each of Jest
Using “table” in method it.each of Jest test.each`table`(name, fn, timeout) 1 2 3 4 5 … Read more
I am a software developer based in Europe
I write a blog about topics that interest me most: programming languages in general, TypeScript, testing, writing and other great stuff.
More on about.md • Contact usrmaxoid@gmail.com
Using “table” in method it.each of Jest test.each`table`(name, fn, timeout) 1 2 3 4 5 … Read more
The problem with mutation of object data in Jest Let’s say we have some method that just … Read more
Test of async method in Jest An example of code: 1 2 3 4 5 6 7 8 9 10 module.exports = { … Read more
Debugging in Jest Add breakpoint in test: 1 2 3 4 5 6 7 8 it.each` a | b | result ${1}| ${2}| … Read more
Domain Driven Design Read more
Document Object Model DOM is a programming interface for HTML and XML documents. Links … Read more
Browser Object Model BOM is a browser’s API interfaces Additional objects, provided by … Read more
Behavior Driven Development The concept provides the ability to write test by kind of human … Read more
Arrange in unit test Preparing to acting of tests All errors in this phase are not actually … Read more