Skip to content

Commit

Permalink
Update jest.md
Browse files Browse the repository at this point in the history
highlights weekly questions and removes projected time.
  • Loading branch information
mx-ruthie authored Feb 28, 2023
1 parent 433fec8 commit 873d88b
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions testing-and-tdd/jest.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
# Testing with Jest

### Projected Time
### Week 8 Questions

- How do you run Jest tests in the command line?
- How do you run test coverage with jest in the command line, and what does the output mean?
- Give an example of a test assertion.

~ 2 hours

### Prerequisites

Expand Down Expand Up @@ -76,8 +79,3 @@ _Participants will be able to:_
- A test with no expectations in it will pass. Don't forget to add at least one `expect` to every `it` function, or you could end up with this false positive.
- Pay attention to when you are writing tests for Asynchronous code. The testing engine might complete before asynchronous code has completed running, giving you unreliable tests. The biggest clue is usually that a test passes sometimes but not others even though you haven't made any changes.

### Check for Understanding
Make yourself a Jest cheatsheet with at least the following:
- How to run Jest tests in the command line
- How to run test coverage with jest in the command line, and what the output means.
- Provide a simple example of a test assertion.

0 comments on commit 873d88b

Please sign in to comment.