I want to write tests, that must test explicit errors. For example, i am reading file and file that i read is malformed, so my parser throw error.
Because this library is inspired by Jest.js, i expect method like this: https://jestjs.io/docs/expect#tothrowerror
I want to write tests, that must test explicit errors. For example, i am reading file and file that i read is malformed, so my parser throw error.
Because this library is inspired by Jest.js, i expect method like this: https://jestjs.io/docs/expect#tothrowerror