curriculum icon indicating copy to clipboard operation
curriculum copied to clipboard

Fix existing mocking-and-abstraction.md outline to use Jest

Open alodahl opened this issue 3 years ago • 8 comments

  • 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.)

alodahl avatar Jul 12 '21 00:07 alodahl

Hi, I can work on this

IngridGdesigns avatar Oct 08 '21 13:10 IngridGdesigns

Thanks Ingrid!!

alodahl avatar Oct 08 '21 14:10 alodahl

@alodahl Do you have any jest testing links/resources in mind (nock using jest instead of chai shown in the scotch.io link)?

IngridGdesigns avatar Oct 12 '21 22:10 IngridGdesigns

i would just use jest mocking instead of nock. i do not have any particular links in mind.

alodahl avatar Oct 13 '21 15:10 alodahl

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)

IngridGdesigns avatar Oct 29 '21 12:10 IngridGdesigns

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?

alodahl avatar Oct 30 '21 16:10 alodahl

I was referring to the actual file ("documentation"). thanks, I just wanted to make sure before removing things

IngridGdesigns avatar Nov 04 '21 17:11 IngridGdesigns

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

IngridGdesigns avatar Jan 05 '22 18:01 IngridGdesigns