All Jest’s functions, such as describe
, it
, expect
etc., are already required when you run jest
command, so in the test suite there’s no need to import anything.
Example of a test:
toContain()
is a matcher function.
Search
All Jest’s functions, such as describe
, it
, expect
etc., are already required when you run jest
command, so in the test suite there’s no need to import anything.
Example of a test:
toContain()
is a matcher function.