wayfair-archive / awesome-learning-exercises

Awesome Learning Exercises - the source code for the Awesome Learning platform.
https://wayfair.github.io/awesome-learning/
BSD 2-Clause "Simplified" License
15 stars 19 forks source link

React Testing Library Course updates #46

Closed helloitsjoe closed 4 years ago

helloitsjoe commented 4 years ago

Making a few updates to the React Testing Library course based on some feedback/conversations we've had.

  1. Removing Session 1 (testing components without a library)
  2. Making a few of the tests a little more true-to-life
  3. Updating some of the wording
  4. Removing the setup code
    const mock = jest.fn()

    and

    const { getBy...} = render(<Comp />)

    Let me know what you think about this!