curriculum
curriculum copied to clipboard
Fix existing mocking-and-abstraction.md outline to use Jest
-
Edit https://github.com/techtonica/curriculum/blob/main/testing-and-tdd/mocking-and-abstraction.md so that it uses Jest mocking techniques.
-
Add completed Materials section to https://github.com/techtonica/curriculum/blob/main/testing-and-tdd/mocking-and-abstraction.md. The section should appear right before "Lesson". Below is a template you can use. The Materials section should essentially be an index/list for the links that already exist in the outline - just all in one place for reference. This outline contains an example.
==== Begin example ====
Materials
- Example video (10 min) - A very short description of this resource.
- Other example article(20 min read) - Answer the 3 questions at the end.
=== end example ===
(Be sure to explain how to use these materials in directions in one of the sections below (ie: lesson, guided practice). If you are not assigning them somehow, they should be placed under Supplemental Materials at the bottom.)
Hi, I can work on this
Thanks Ingrid!!
@alodahl Do you have any jest testing links/resources in mind (nock using jest instead of chai shown in the scotch.io link)?
i would just use jest mocking instead of nock. i do not have any particular links in mind.
one more question, (sorry it has been taking me long), so I should get rid of nock from the documentation or keep (checking so we are on the same page)
one more question, (sorry it has been taking me long), so I should get rid of nock from the documentation or keep (checking so we are on the same page)
i imagine removing it would be good if jest is now the context - which documentation?
I was referring to the actual file ("documentation"). thanks, I just wanted to make sure before removing things
Hi @alodahl , I'm sorry, I couldn't get around to this, I got so much on my plate now. It's best if someone else works on this