https://github.com/softx0/jestintroduction
Beginning in core of Jest knowledge
https://github.com/softx0/jestintroduction
javascript jest
Last synced: about 2 months ago
JSON representation
Beginning in core of Jest knowledge
- Host: GitHub
- URL: https://github.com/softx0/jestintroduction
- Owner: Softx0
- Created: 2022-02-08T00:44:57.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-02-10T01:26:25.000Z (over 3 years ago)
- Last Synced: 2025-02-09T09:15:32.860Z (4 months ago)
- Topics: javascript, jest
- Language: HTML
- Homepage:
- Size: 220 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Introduction to Unit test w/ Jest
## Topics
- describe scope
- it scope
- test scope- test.todo for a test that not be defined
- Object Assignments
- Falsy and Truthy values
- Numerics test
- Floating numeric test
- strings test
- the not matchers for negation
- toMatch to test w/ regExp
- Arrays test
- Handle Exception test
- Create your own matchers for the win
- the methods for control the flow of the tests
- beforeAll
- afterAll
- beforeEach
- afterEach
- Promises test ( util for REST Services ) in three differents ways
- async/await
- Promises
- Callbacks- Use the option from the jest cli
- coverageAll
- watchAll### Coverage report captures



