kentcdodds / testing-workshop

A workshop for learning how to test JavaScript applications
http://git.io/testing-workshop
1.36k stars 710 forks source link

Simplify mocking #61

Closed kentcdodds closed 6 years ago

kentcdodds commented 6 years ago

Lots of feedback that the instruction on mocks was too complicated.

  1. Change the way it's presented (maybe make it more progressive like the "whats-a-test" stuff)
  2. Change the way axios is used so it doesn't create an instance and instead uses axios directly
kentcdodds commented 6 years ago

Done! We now have a whats-a-mock in the other directory for this :+1: